in reply to Pack and Unpack binary data in a variable
See also perlpacktut.
Give a man a fish: <%-{-{-{-<