|We don't bite newbies here... much|
Re: Exists in HASH issueby snadra (Scribe)
|on Jul 22, 2003 at 08:17 UTC ( #276653=note: print w/replies, xml )||Need Help??|
you should read
first, to understand how hashes work. As said before, they are not sorted in any way.
But you can print them out sorted or do something else with them in a sorted way.
This would cause a numerical order:
To sort them lexically just use:
Read 'perldoc -f sort' for more information.
In Section Seekers of Perl Wisdom