in reply to Re: undef number?
in thread undef number?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: undef number?
by Marshall (Canon) on Apr 19, 2010 at 17:56 UTC |