in reply to Re: Hash key ordering question
in thread Hash key ordering question
that will actually sort in string comparison order (the default for sort). for numeric order, you want:
... foreach $key1 (sort {$a <=> $b} keys %hshFoo) { ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Hash key ordering question
by P0w3rK!d (Pilgrim) on May 07, 2003 at 19:18 UTC | |
Re: Re: Re: Hash key ordering question
by jgallagher (Pilgrim) on May 07, 2003 at 21:55 UTC |
In Section
Seekers of Perl Wisdom