Front page | perl.perl5.porters |
Postings from January 2012
Re: pack and ASCII
Thread Previous
|
Thread Next
From:
Eric Brine
Date:
January 15, 2012 14:06
Subject:
Re: pack and ASCII
Message ID:
CALJW-qEFUHcYbKHJtZemC1jJtCias4+hpB_ASghEykJ+1_28pA@mail.gmail.com
On Sun, Jan 15, 2012 at 4:51 PM, Father Chrysostomos <sprout@cpan.org>wrote:
> Eric Brine wrote:
> > On Sat, Jan 14, 2012 at 11:11 AM, Jesse Luehrs <doy@tozt.net> wrote:
> > > Passing non-ASCII characters to pack (or at least, to a format
> > > like 'A') should be caught as an error *when you do that*, not just
> > > something that does the wrong thing silently.
> >
> > I agree with everything you said here.
>
> But I thought you did *not* want it to be an error.
>
The message was sent prematurely as a second was sent. In short, I can't
think of a use for C<< pack "N/A*" >>, so I think it (specifically) could
give an error (warn).
Thread Previous
|
Thread Next