in reply to Sorting hashes with values
Hope this helps,@sorted_events = sort { $dates{$a} <=> $dates{$b} } keys %dates;
Jeroen
"We are not alone"(FZ)
Update: Added that s. Thx Beatnik and ar0n
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sorting hashes with values
by nysus (Parson) on Apr 09, 2001 at 20:18 UTC |