Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Unpack an 8 bit unsigned char matrix

by BrowserUk (Patriarch)
on Jul 15, 2013 at 20:22 UTC ( [id://1044454]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant NCOLS => 3954;
    
    ...
    my @matrix = map[ unpack 'C*', $_ ], unpack '(a' . NCOLS . ')*', $buff
    +er;
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-23 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found