Byte-order modifiers are one of the Perl 5.10 features farther along in perl5100delta, after the really big features. To any pack
format, you can append a <
or a >
to specify that the format is little-endian or big-endian, respectively. This allows you to handle endianness in the formats that don’t have specify versions for each architecture already, as well as apply endianness to groups. Continue reading “Use the > and < pack modifiers to specify the architecture"