XP is just a number | |
PerlMonks |
Re^2: unpack into arrayrefs?by ikegami (Patriarch) |
on Feb 22, 2022 at 17:15 UTC ( [id://11141555]=note: print w/replies, xml ) | Need Help?? |
That should be a, not A. A will remove trailing 0x20 bytes. S might be correct even on big-endian machines.
If the OP was using a little-endian machine, we can only rule out the last one from the info provided. See Mini-Tutorial: Formats for Packing and Unpacking Numbers for a convenient table of pack/unpack numeric formats.
In Section
Seekers of Perl Wisdom
|
|