Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: using hashes

by kennethk (Abbot)
on Sep 26, 2013 at 15:06 UTC ( #1055853=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %id = (bananas => 456,
              oranges =>  23,
              peaches => 897236,
    ...
    for my $i (0 .. $#replaces) {
        $replaces[$i] = $id{$replaces[$i]};
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055853]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-12-07 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.