in reply to Sort Array
See the documentation for sort:
# use <=> instead of default cmp @array = sort { $a <=> $b } @array;
|
---|
In Section
Seekers of Perl Wisdom