Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by LanX (Chancellor)
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?
[Eily]: Just another Perl coeurs
[Eily]: (perl with hearts, 'Acker with a French accent is pronunced like coeurs)
[LanX]: IMHO 'ju' for 'u' happens in English where they can't pronounce the French u (or German )
[LanX]: and I'm sure I read that *hotel* used to be pronounced 'otel by the English upperclass
[Your Mother]: American English vowels are pretty lazy/mumbly in general.
[LanX]: talking about antisemitism, youtube automatic subtitles is entertaining shocking sometimes ... like when offering "Fruit Jews" as a drink
[Your Mother]: ...Come on you King of the Juice...
[Your Mother]: I actually know his kids.
LanX has to go/
[Your Mother]: King Herod's song (Mike D'Abo performed, I think)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-03-27 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.