in reply to Best method to order a hash of arrays

When working with items that need to be a specific order, always use an array, avoid using hashes. While you can do a sort of a hash keys (for example) it is easy to forget that you had to have an order for that hash. Also it is easy to overwrite a hash key with a new entry and you may not notice. So use an array.

  • Comment on Re: Best method to order a hash of arrays