P is for Practical | |
PerlMonks |
Re: Idiom for looping thru key/value pairsby runrig (Abbot) |
on May 26, 2001 at 00:33 UTC ( [id://83419]=note: print w/replies, xml ) | Need Help?? |
If you have duplicate keys, why not use a hash of arrays?
Doh!- forgot you wanted them ordered. Still, maybe a tied hash?
In Section
Seekers of Perl Wisdom
|
|