I sometimes needed to know if I would say keys %hash in wich order would they come out ? Ofcourse I would like them to come out in the order that I put them when I created the hash. I was disappointed and then I found how hashes work and somehow felt that order in keys of a hash didn't have any reason to exist. But at page 91 in Perl Best Practices , Damian Conway talks about order amongst keys of a hash.
Question: Can one predict this order ? How ?
In reply to about order in hash keys by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |