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

Re: pack and unpack multiple arrays with one common repeat prefix

by kennethk (Abbot)
on Jun 15, 2017 at 14:57 UTC ( #1192866=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print join(',', unpack("C/C* v*", $testinput)), "\n";
    
  2. or download this
    my $testinput = pack('C/a* a* a*', 
                         (pack 'Cvs', 1, 3, -5), 
    ...
                         );
    
    print join(',', unpack("C/(Cvs)", $testinput)), "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2021-11-28 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?