Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by LanX (Chancellor)
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)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1071016]
help
Chatterbox?
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-06-27 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (612 votes). Check out past polls.