Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: How do I read a 24 bit integer?by juster (Friar) |
on Jan 03, 2010 at 18:43 UTC ( [id://815444]=note: print w/replies, xml ) | Need Help?? |
Click on a note's title in order to show the responses beneath it. Pack mojo is always interesting and very deep! I found this in the pack manpage in order to explain your problem and BrowserUK's solution: When unpacking, "A" strips trailing whitespace and nulls, "Z" strips everything after the first null, and "a" returns data verbatim.
In Section
Seekers of Perl Wisdom
|
|