Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[karlgoethebier]: before i forget it: good morning

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2018-01-20 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (226 votes). Check out past polls.

    Notices?