develooper Front page | perl.perl6.language | Postings from September 2000

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

Thread Previous | Thread Next
From:
Peter Scott
Date:
September 18, 2000 10:53
Subject:
Re: pack/unpack is damn unperlish. Explain them as Perl.
Message ID:
4.3.2.7.2.20000918105200.00aee340@psdt.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About