6 use List::Util qw(min);
10 print "not " unless defined &min;
13 print "not " unless min(9) == 9;
16 print "not " unless min(1,2) == 1;
19 print "not " unless min(2,1) == 1;
22 my @a = map { rand() } 1 .. 20;
23 my @b = sort { $a <=> $b } @a;
24 print "not " unless min(@a) == $b[0];