develooper Front page | perl.perl5.porters | Postings from February 2007

Re: Future Perl development

From:
Nicholas Clark
Date:
February 7, 2007 08:27
Subject:
Re: Future Perl development
Message ID:
20070207162652.GQ5748@plum.flirble.org
On Mon, Feb 05, 2007 at 11:33:31PM +0100, Juerd Waalboer wrote:
> Dr.Ruud skribis 2007-02-05 23:09 (+0100):
> > perl -wle '
> >   $s = substr "\x{100}\xFF", 1;
> >   print length $s, ":", unpack "H*", $s;
> > '
> 
> Note that normally, unpack "H*" on a unicode string (like your $s) is a
> violation of proper separation. 

Ton supplied a patch that fixed this violation for blead. I was reluctant to
apply it to 5.8.x (for all cases) because there is code out there expecting
the undocumented behaviour to work.

Nicholas Clark



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