Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Hash element access -dereferenced hashes

by reaper9187 (Scribe)
on Dec 06, 2012 at 10:35 UTC ( #1007525=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $a = "Lucy";
    my %cell=> = ( Lucy => '12' );
    my %map=> = ( 12 => '45' );
    
  2. or download this
    print "$cell{$map{$a}}\n"; 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007525]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-09-25 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (470 votes). Check out past polls.