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

Re: pack and ASCII

Thread Previous | Thread Next
Jesse Luehrs
January 11, 2012 12:54
Re: pack and ASCII
Message ID:
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.

Also, nobody is arguing that the issue is anything other than bad data
being fed to pack. The issue is whether pack should do something to tell
the user that they are feeding bad data to pack.


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