Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Finding Previous and Next in a HASHby myocom (Deacon) |
on Dec 12, 2000 at 05:17 UTC ( [id://46200]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|