|Perl Monk, Perl Meditation|
Extract keys from an Array of Hashesby bradcathey (Prior)
|on Dec 16, 2010 at 17:02 UTC||Need Help??|
bradcathey has asked for the wisdom of the Perl Monks concerning the following question:
It's easy enough to get the keys in a hash, but what about an array of hashes? All I really need are the keys from just one of the array elements, because the way I'm using the AoH, all the keys are the same in each element of the array.
It would look something like this:
Of course, that barfs. Is there a way to do this? TIA
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot