in reply to Re^7: index of the minimum element of the array
in thread index of the minimum element of the array
thats the interesting part: )
DB<102> $List::Util::VERSION => "1.22"
and shouldn't your code return 3 (the first 6) ?
the result is correct, your code produces the last min.
you have the same version of List::Util? strange!
perl -v This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|