develooper Front page | perl.perl5.porters | Postings from January 2012

Re: pack and ASCII

Thread Previous | Thread Next
Ricardo Signes
January 10, 2012 15:05
Re: pack and ASCII
Message ID:

So, what does it mean someone is asking for, when he or she writes:

  my $string = qq[Queensr\N{LATIN SMALL LETTER Y WITH DIAERESIS}che];
  my $packed = pack "A*", $string;

All the other confusion of this thread aside, I *think* that we all agree that
the person writing this is making a mistake.  Is that true?  Do we all agree
that this should be (or would not be incorrect to be) a warning?

My hunch is that we will want a warning and an improvement to the


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About