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

Help on Hashes

by Anonymous Monk
on May 14, 2014 at 07:24 UTC ( [id://1085984]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @hash;
    my @field;
    ...
    my @COL_CHECK_C = qw( NAME AGE STATE COUNTY );
    my @COL_CHECK_D = qw( NAME AGE CITY STATE COUNTY );
    my @COL_CHECK_E = qw( NAME AGE DESIGNATION CITY STATE COUNTY );
    
  2. or download this
    foreach my $key (@COL_CHECK_$ARGV[0]) {
    push( @field, $hash{$key} );
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-18 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found