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

Re^2: Creating hash of arrays (in a faster way)

by Corion (Pope)
on Nov 01, 2013 at 09:57 UTC ( #1060732=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $row ( @hash{ @cols }) {
        push @$row, shift @values
    }
    
  2. or download this
    sub alias { \@_ };
    
    ...
    
        print Dumper \%hash;
    }
    
  3. or download this
    
    {
    ...
    }
    
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-11-27 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (181 votes), past polls