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

Re: pack and ASCII

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
January 11, 2012 15:21
Subject:
Re: pack and ASCII
Message ID:
CAHhgV8gy3S5dEQTuynPBCSzwuJVb5L3yXY_WD2RjKVt=UhT5JA@mail.gmail.com
On Wed, Jan 11, 2012 at 8:38 PM, Eric Brine <ikegami@adaelis.com> wrote:
> Perhaps you should fix *that* bug instead of trying to
> change the function of C<< pack "A" >>. C<< pack "A" >> is documented to
> work on text, and that's what it does. Obviously, it's never been limited to
> 7-bit ASCII text inputs, but it's not limited to 8-bit text inputs either.

Pack "a" on the other hand is documented as packing «A string with
arbitrary binary data» ;-)

Leon

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