in reply to hash creation.
If you have a legitimate need to use hashes in this case, just use sort against the hash keys:
@descending_keys = sort { $b <=> $a } keys %hash;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: hash creation.
by Anonymous Monk on Jan 03, 2001 at 19:34 UTC | |
by Fastolfe (Vicar) on Jan 03, 2001 at 19:39 UTC | |
by thedotproduct (Initiate) on Jan 03, 2001 at 20:11 UTC | |
by salvadors (Pilgrim) on Jan 03, 2001 at 20:25 UTC |