in reply to Is the documentation for Perl 5.20 'pack' correct?
The docs are correct.
For example, x86 is a LE platform, and byteorder is 1234 (32-bit IV) or 12345678 (64-bit IV) on that platform.
>perl -V:archname archname='MSWin32-x86-multi-thread'; >perl -V:byteorder byteorder='1234';
>perl -V:archname archname='MSWin32-x86-multi-thread-64int'; >perl -V:byteorder byteorder='12345678';
x64 is also LE.
>perl -V:archname archname='MSWin32-x64-multi-thread'; >perl -V:byteorder byteorder='12345678';
I don't have access to a BE platform to confirm that byteorder is 4321 or 87654321 there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is the documentation for Perl 5.20 'pack' correct?
by BrowserUk (Patriarch) on Jul 07, 2015 at 00:15 UTC | |
by ikegami (Patriarch) on Jul 07, 2015 at 00:17 UTC | |
by BrowserUk (Patriarch) on Jul 07, 2015 at 00:20 UTC | |
by ikegami (Patriarch) on Jul 07, 2015 at 00:23 UTC | |
by BrowserUk (Patriarch) on Jul 07, 2015 at 00:36 UTC | |
| |
by Anonymous Monk on Jul 07, 2015 at 00:21 UTC | |
by ikegami (Patriarch) on Jul 07, 2015 at 00:29 UTC | |
by Anonymous Monk on Jul 07, 2015 at 19:52 UTC |