Hashes have no intrinsic order of their elements. See perlfaq4, or type perldoc -q order on your command prompt to see how to get a hash that remembers the order you put the elements into it. Maybe you want an array instead?
In reply to Re: The strange ordering of hash values
by Corion
in thread The strange ordering of hash values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |