in reply to I don't understand why keys %hash does this ...

Hashes are not sorted. They're designed for direct data lookup, not ordering. If order is important to you, use an array (or sort the keys before you use them).

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me
% man 3 strfry

  • Comment on Re: I don't understand why keys %hash does this ...