develooper Front page | perl.perl5.porters | Postings from May 2013

Re: pack() for producing C structs (Was: Re: How on earth did wemanage to break pack() so badly?)

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
May 1, 2013 18:05
Subject:
Re: pack() for producing C structs (Was: Re: How on earth did wemanage to break pack() so badly?)
Message ID:
51815943.3060500@cpan.org
On 05/01/2013 07:29 PM, Peter Martini wrote:
> I haven't had to use that library for years, and yes it was an older
> perl - maybe 5.8.4?  Certainly none of the clients using that were
> 5.10 or newer.

So chances are that some of your use of pack/unpack would break with 
newer perls just like our code (except it wasn't triggered by an upgrade 
but by accidentally contaminating some innocent sequence of octets with 
UTF8).

NB: Whether or not the code is broken because it's doing the wrong thing 
isn't even that pertinent. That it's way, way, way too hard to get it 
right is very much, though.

--Steffen

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