Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: hash within an array within a hash

by Kenosis (Priest)
on Sep 07, 2012 at 01:48 UTC ( #992220=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ownersRef = [ $owner1Ref, $owner2Ref ];
    
  2. or download this
    print $ownersRef->[0]
    
  3. or download this
    HASH(0x27ee58)
    
  4. or download this
    print $ownersRef->[0]->{name};
                       ^      ^
    ...
                       |      + hash key for "Santa Claus"
                       |
                       + array element 0
    
  5. or download this
    Santa Claus
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-08-01 01:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls