Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
      DB<109> @a=  map { int rand 100 } 1..10
     => (96, 10, 99, 9, 43, 8, 20, 85, 42, 26)
    ...
    
      DB<111> print minindex @a
    5
    
  2. or download this
      DB<114> @a=  map { int rand 100 } 1..10 => (22, 15, 27, 44, 70, 85, 
    +74, 93, 96, 14)
    
    ...
    
      DB<116> print minindex @a
    9
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-07-25 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls