Front page | perl.perl5.porters |
Postings from January 2012
Re: pack and ASCII
Thread Previous
|
Thread Next
From:
Eric Brine
Date:
January 10, 2012 12:22
Subject:
Re: pack and ASCII
Message ID:
CALJW-qEvHmPL-O9xENwWLcnVJCKbpd4avn-af0-VMAox6o+vsg@mail.gmail.com
On Tue, Jan 10, 2012 at 3:17 PM, Eric Brine <ikegami@adaelis.com> wrote:
> On Tue, Jan 10, 2012 at 7:43 AM, Leon Timmermans <fawaka@gmail.com> wrote:
>
The only sane way out of this mess would be to split this
>>
> up in two different formats
>
>
> You still didn't say what you think the two formats should do.
>
First format when given a byte char
-> Returns the char
First format when given a non-byte char
-> ???
Second format when given a byte char
-> Returns the char
Second format when given a non-byte char
-> Returns the char
>
>
> > C<< pack "A1" >> will never return more than one octet.
>>
>
> If only that were the case.
>>
>
> Then give an example where it doesn't.
>
> - Eric
>
>
Thread Previous
|
Thread Next