Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: hash within an array within a hash

by kcott (Abbot)
on Sep 07, 2012 at 06:54 UTC ( #992254=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print $account{owners}[0]{name};
    
  2. or download this
    $ perl -Mstrict -Mwarnings -le '
    # Braces denote an anonymous hash
    ...
    print $account{owners}[0]{name};
    '
    Santa Claus
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-11-24 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (135 votes), past polls