the easy way is to just sort @x and take the last element with a slice...
There's no way I would call
easier than(sort {$a <=> $b} @x)[-1,0]
max(@x)
They're both core, max being located in List::Util.
In reply to Re^2: undef number?
by ikegami
in thread undef number?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |