Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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


Comment on Re^2: Extract keys from an 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://877582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2014-12-28 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls