Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: unpack into arrayrefs?

by hippo (Bishop)
on Feb 22, 2022 at 21:11 UTC ( #11141567=note: print w/replies, xml ) Need Help??


in reply to Re^2: unpack into arrayrefs?
in thread unpack into arrayrefs?

Perl is smart enough not to need one:

push @a, [ unpack 'CCSS', substr $data, 0, 6, '' ] while length $data;

🦛

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-08 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?