in reply to Idiom for looping thru key/value pairs

If you have duplicate keys, why not use a hash of arrays?

Doh!- forgot you wanted them ordered. Still, maybe a tied hash?

  • Comment on Re: Idiom for looping thru key/value pairs