|Perl Monk, Perl Meditation|
Issues with Hashesby jedikaiti (Friar)
|on Mar 23, 2010 at 17:22 UTC||Need Help??|
jedikaiti has asked for the
wisdom of the Perl Monks concerning the following question:
So I have this hash:
And I want to iterate through it, in order, to get the key, description, and discrete values. This is driving me nuts. I looked at this post about hashes of hashes in Q&A, but it's just not working, so I decided to dial it back and go one step at a time.
First step: iterating through and getting the keys:
This works, gets all the keys, but not in order.
So my questions, dear Monks, are as follows: