This is a bit more compactmy $highest =(sort {$b <=> $a} @numbers)[0];
Hope it helps
UnderMine
In reply to Re: Re: (nrd) finding highest number
by UnderMine
in thread finding highest number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |