Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: print array of hashes

by ungalnanban (Pilgrim)
on Apr 22, 2010 at 12:31 UTC ( #836241=note: print w/ replies, xml ) Need Help??


in reply to print array of hashes

See the following Example:

my @rec = ( { name => 'Nancy', address => 613, kids => [abc, def] }, . . ); . . print scalar(@{$rec[0]->{kids}});
--$ugum@r--


Comment on Re: print array of hashes
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-05-06 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (153 votes), past polls