Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: making presence/absence table from a hash of arrays

by jwkrahn (Monsignor)
on Sep 06, 2011 at 17:02 UTC ( #924432=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $header_row= 'one two three four five';
    ...
    ...
    {
       $name2Index{$col_head} = $col++;
    }
    
  2. or download this
    my @header_row = qw/ one two three four five /;
    ...
    ...
    ...
    @name2Index{ @header_row } = 0 .. $#header_row;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-08-01 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls