I'd like to be able to have a hash variable, put things in it, then later read them back out in the same order I wrote them. I could sorta do it with a pair of arrays and an index variable, but I like being able to reference an element by its key.
What are some ways I could accomplish this?
---
A fair fight is a sign of poor planning.
In reply to Ordered Hashes by Sprad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |