Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Is the documentation for Perl 5.20 'pack' correct?by flexvault (Monsignor) |
on Jul 07, 2015 at 15:46 UTC ( [id://1133561]=note: print w/replies, xml ) | Need Help?? |
With all due respect, the topic is not about Perl's definition of byteorder, but the definition of and examples for little-endian and big-endian in the on-line documentation for Perl's 'pack' function. Perl's byteorder is academic! Please see the following from a RS/6000 with AIX 5.2 operating system: pyrperl -v and
and
Until now, I did not know that the RS/6000 has a software switch on the motherboard to indicate running in little-endian or big-endian. When I read the Camel book, and it said that the "N" parameter of 'pack' put the result in Network or big-endian format, I knew what that meant and it didn't have an example. My original problem was with the on-line documentation. In goggling this, many authors seem to be guessing! Regards...Ed "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|