develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #117355] [lu]cfirst don't respect 'use bytes'

Thread Previous
From:
Tony Cook via RT
Date:
August 12, 2013 05:31
Subject:
[perl #117355] [lu]cfirst don't respect 'use bytes'
Message ID:
rt-3.6.HEAD-2552-1376285453-1990.117355-15-0@perl.org
On Sun Jul 14 23:22:33 2013, tonyc wrote:
> On Thu Jul 04 18:40:10 2013, tonyc wrote:
> > On Sat May 04 20:03:46 2013, public@khwilliamson.com wrote:
> > > Attached is a patch that fixes the original report.  The code it
> > > changes
> > > is a small portion of this commit:
> >
> > As much as I despise use bytes, I think this patch could go in, but it
> > would need tests.
> > 
> > If no-one else provides tests I'll write some over the next few days.
> > 
> > Or not, if people object to the change, in which case they should
> > propose an alternative.
> 
> Attached, some very basic tests, bytes.pm doesn't deserve much more :)

Applied as ac993614a7619e3e09c31ed0d7721bede551376a,
93e088e883c48d3aa622b15ae335940abb05a48f,
ae5c28e814c627cae6eff15424529d46decc4366.

I've leave the ticket open for the deprecation discussion, though
perhaps that belongs in a different ticket.

Tony



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=117355

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About