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

Re: pack and ASCII

Thread Previous | Thread Next
From:
Eric Brine
Date:
January 9, 2012 11:46
Subject:
Re: pack and ASCII
Message ID:
CALJW-qFPFbFG3S5_QZ6Z1XhuGX7rN7y0GfHPDRUPeZX=0z8m8w@mail.gmail.com
On Mon, Jan 9, 2012 at 11:27 AM, Leon Timmermans <fawaka@gmail.com> 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


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