Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perlish approach to parsing a binary blob

by ikegami (Patriarch)
on Apr 09, 2018 at 12:31 UTC ( [id://1212580]=note: print w/replies, xml ) Need Help??


in reply to Perlish approach to parsing a binary blob

You could chain the two statements.

my @out = map [ unpack 'Ca*' ], unpack '(a5)*', $data;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found