develooper Front page | | Postings from September 2000

Re: pack/unpack is damn unperlish. Explain them as Perl.

Thread Previous | Thread Next
Peter Scott
September 18, 2000 10:55
Re: pack/unpack is damn unperlish. Explain them as Perl.
Message ID:
At 02:53 AM 9/18/00 -0400, Michael G Schwern wrote:
>Perhaps someone could attempt to write an explaination of pack and
>unpack in completely Perl terms.  No bits, no ints, no nybbles, no
>IEEE floating point arithmetic, no prior knowledge of C necessary.

I don't see how you could possibly do it without that any more than you can 
use numbers without understanding the range limits of integers and floating 
point roundoff.

However, you're right, a tutorial is desperately needed.  I rarely need 
pack/unpack but when I do, it takes me ages to figure out what to do.  I 
don't think there's anything wrong with the interface though, it seems 
quite appropriate.
Peter Scott
Pacific Systems Design Technologies

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