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

Re: pack and ASCII

Thread Previous | Thread Next
Eric Brine
January 9, 2012 11:46
Re: pack and ASCII
Message ID:
On Mon, Jan 9, 2012 at 11:27 AM, Leon Timmermans <> wrote:

> Personally, it makes no sense to me to pass pack "A" a character
> string in the first place, if only because it relies on the internal
> encoding of perl for its result, but to return a character string is
> just plain wrong.

It stopped relying on the internal encoding in 5.10. Since then, it works
the same for both string storage formats.

- Eric

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