P is for Practical | |
PerlMonks |
Re: getting the highest value in a simpler wayby cfreak (Chaplain) |
on Nov 10, 2004 at 15:29 UTC ( [id://406690]=note: print w/replies, xml ) | Need Help?? |
Why all the extra modules stuff? Just sort the array and grab the first or last one depending on how you sorted it. This should do everything you want:
Update This way is simple but of course as sporty said, it takes longer
In Section
Seekers of Perl Wisdom
|
|