in reply to Re: Pulling bytes out of string
in thread Pulling bytes out of string

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.)

Replies are listed 'Best First'.
Re^3: Pulling bytes out of string
by AnomalousMonk (Archbishop) on Oct 22, 2015 at 00:22 UTC

    See also perlpacktut.


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