Sometimes you end up with conflicting wishes, though. For the problem I was having earlier, I had a case of requiring unique keys and also wanting to index into the hash (or rather, the keys of the hash). In my case, at least, the fact that hash keys are by definition unique outweighed my desire for ordered hashes. Otherwise, you're right, I would've used an array. :-)
In reply to Re: Re: Finding Previous and Next in a HASH
by myocom
in thread Finding Previous and Next in a HASH
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |