Re: pack/unpack is damn unperlish. Explain them as Perl.
[email protected] (Peter Scott) Mon, 18 Sep 2000 10:54:04 -0700
| Newsgroups | perl.perl6.language,perl.perl6.language.data |
|---|---|
| Message-ID | <[email protected]> |
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