Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^8: index of the minimum element of the array

by LanX (Canon)
on Jan 17, 2014 at 20:23 UTC ( #1071016=note: print w/ replies, xml ) Need Help??


in reply to Re^7: index of the minimum element of the array
in thread index of the minimum element of the array

re update:

thats the interesting part: )

DB<102> $List::Util::VERSION => "1.22"

and shouldn't your code return 3 (the first 6) ?

update

the result is correct, your code produces the last min.

update

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)


Comment on Re^8: index of the minimum element of the array
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1071016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-08-20 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (113 votes), past polls