Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 !@monks...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-02-25 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (365 votes). Check out past polls.