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

Re: using hashes

by kennethk (Monsignor)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-11-28 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (195 votes), past polls