Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perlish approach to parsing a binary blob

by ikegami (Pope)
on Apr 09, 2018 at 12:31 UTC ( #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
Node Status?
node history
Node Type: note [id://1212580]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2020-11-30 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?