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

Re: pack and ASCII

Thread Previous | Thread Next
From:
Eric Brine
Date:
January 13, 2012 23:49
Subject:
Re: pack and ASCII
Message ID:
CALJW-qG51SNGbuC29AA_DC0jo-547cKKkMWFXObboAWugay0ng@mail.gmail.com
On Sat, Jan 14, 2012 at 2:47 AM, Eric Brine <ikegami@adaelis.com> wrote:

> On Fri, Jan 13, 2012 at 5:46 PM, Leon Timmermans <fawaka@gmail.com> wrote:
>
>> On Fri, Jan 13, 2012 at 11:17 PM, Eric Brine <ikegami@adaelis.com> wrote:
>> > No, encoding the output of C<pack> would produce garbage, e.g. C<<
>> pack("N",
>> > 0x80112233) >> would return 5 bytes instead of 4.
>>
>> I have no idea what you're talking about here. Can you please stop
>>
> interpreting anything anyone else says in the most unreasonable way
>> possible?
>>
>
> I said C<pack> should always downgrade its output. I was most definitely
> including C<< pack "N/A*" >> and C<< pack "N/A*" >> in my statement.
>

It should say "when possible" in there, sorry

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