Of course, List::Util has a max function, which would be faster still.
But don't be so quick to optimize... you may be unoptimizing.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Re: Re: (nrd) finding highest number
by merlyn
in thread finding highest number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |