in reply to minimum expectation of min?
I did notice that the code you posted doesn't compile. Try the following:
use strict; use warnings; use List::Util qw( min ); + print List::Util->VERSION, $/; + my @a = (-10...5); print "@a -> ",(min @a),"\n"; ---- 1.14 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 -> -10
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: minimum expectation of min?
by larard (Monk) on Jul 14, 2004 at 20:11 UTC |