XP is just a number | |
PerlMonks |
Re: Mysterious hash behaviourby borisz (Canon) |
on Apr 07, 2005 at 07:01 UTC ( [id://445557]=note: print w/replies, xml ) | Need Help?? |
Hashes are unordered. If you want the keys ordered, use sort keys %sortListArr. Another solution is to use Tie::IxHash, Tie::IxHash::Easy or Tie::DxHash.
Boris
In Section
Seekers of Perl Wisdom
|
|