Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[choroba]: Re: Modern Perl 4th Edition Perl Cookbook is a very bad cookbook, I wasn't able to finish any dish and the resulting meals were disgusting.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-11-17 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?