|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Retrieving data from multidimensional hashesby friedo (Prior) |
| on Aug 11, 2008 at 18:54 UTC ( #703717=note: print w/ replies, xml ) | Need Help?? |
|
A couple of options, depending on what appeals to you: The first one is short-hand for accessing the second-level hash directly, though I find it a tad ugly, especially if the structures get deeper than two levels. The second one grabs the reference for the second level hash and then calls keys on that, which is a bit more explicit.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||