in reply to How can I find the index of the biggest element in an array?
turnstep's first answer has two bugs
- He forgot to set $maxval after fiding a longer string
- He forgot to consider index 0
Originally posted as a Categorized Answer.
|
---|
In Section
Seekers of Perl Wisdom