Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: pack and unpack trouble

by ikegami (Patriarch)
on Dec 22, 2011 at 16:28 UTC ( [id://944808]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $mCrc = $mPolyTable[ ( $mCrc ^ $iByteArray[$x] ) & 0xFF ];
    
  2. or download this
    unpack('C', substr(pack('J', $val), 0, 1))
    
  3. or download this
    unpack('C', substr(pack('J', $val), -1, 1))
    
  4. or download this
    unpack('C', substr(pack('J<', $val), 0, 1))
    
  5. or download this
    unpack('C', pack('J<', $val))
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found