Congratulations: Another O(n) solution! Please note that the each ARRAY syntax is only available from Perl version 5.12 onward.
Give a man a fish: <%-{-{-{-<
In reply to Re^5: How to get the index of smallest whole number in an array?
by AnomalousMonk
in thread How to get the index of smallest whole number in an array?
by sohamsg90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |