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

Re: pack and ASCII

Thread Previous | Thread Next
From:
Jesse Luehrs
Date:
January 11, 2012 12:45
Subject:
Re: pack and ASCII
Message ID:
20120111204450.GP23629@tozt.net
On Wed, Jan 11, 2012 at 02:38:48PM -0500, Eric Brine wrote:
> Of course, the bug would only manifest itself if you feed C<pack> bad data
> in the first place. 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.

Actually, pack 'A' is documented to work on ASCII - I thought that's how
this entire thread came up.

-doy

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