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

Re^2: Extract keys from an Array of Hashes

by bradcathey (Prior)
on Dec 17, 2010 at 03:23 UTC ( #877582=note: print w/replies, xml ) Need Help??


in reply to Re: Extract keys from an Array of Hashes
in thread Extract keys from an Array of Hashes

And for when the keys are all different:

for ( 0 .. $#AoH ) { push @keys, keys %{ $AoH[$_] }; }
—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877582]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-04-28 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (529 votes). Check out past polls.