Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Perlish approach to parsing a binary blob

by mxb (Pilgrim)
on Apr 09, 2018 at 12:21 UTC ( [id://1212579]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use strict;
    use warnings;
    ...
    };
    
    print Dumper \@out;
    
  2. or download this
    #!/usr/bin/env perl
    use strict;
    use warnings;
    ...
    my @out = map { [unpack "CA*"] } @items;
    
    print Dumper \@out;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1212579]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-18 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found