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

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 10:54:04AM -0700, Peter Scott wrote: > 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. You ignore that incidental detail until later on in the docs

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

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 11:23:21AM -0400, John Porter wrote: > Uh huh... Are you prepared to write an explanation of Perl arrays > without making any mention of Perl scalars? "An array is a container for a list. Items in the list can be added, changed and removed, taken off and put onto both en

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

2000-09-18 Thread Peter Scott
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