Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re: How do I read a 24 bit integer?
in thread How do I read a 24 bit integer?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://815444]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found