Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Pulling bytes out of string

by toolic (Bishop)
on Oct 21, 2015 at 19:08 UTC ( [id://1145584]=note: print w/replies, xml ) Need Help??


in reply to Pulling bytes out of string

unpack?

Replies are listed 'Best First'.
Re^2: Pulling bytes out of string
by sundialsvc4 (Abbot) on Oct 21, 2015 at 21:06 UTC

    Sure looks to me that the h (or H) formats are just what the doctor ordered.   (FYI:   the format-strings are defined, in very great detail, in perldoc pack.)

      See also perlpacktut.


      Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-16 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found