P is for Practical | |
PerlMonks |
Re: sort an array with +ve & -ve numbers in itby jwkrahn (Abbot) |
on Apr 03, 2009 at 10:51 UTC ( [id://755237]=note: print w/replies, xml ) | Need Help?? |
You don't need to sort the array to get the minimum and maximum values, a simple loop will do:
In Section
Seekers of Perl Wisdom
|
|