Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-06-24 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (556 votes). Check out past polls.