in reply to How can I find the index of the biggest element in an array?
%arrayHash=map {$_=> $i++} @array=(5,4,3,2,7); print $arrayHash{pop [sort @array]}; [download]
Originally posted as a Categorized Answer.