... @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."
In reply to Re: Array Sort
by JaWi
in thread Array Sort
by The_Rev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |