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