in reply to Array Sort
... @event_queue = sort { $a <=> $b } @event_queue; ...
BTW: you don't need to explitly assign the $_ operator in the foreach loop. It is done automatically...
Greets,
-- JaWi
"A chicken is an egg's way of producing more eggs."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Array Sort
by The_Rev (Acolyte) on Sep 10, 2002 at 11:53 UTC |