in reply to Re: argmin & argmaxin thread argmin & argmax
There is also List::UtilsBy::max_by and List::UtilsBy::min_by which do this and have the additional feature of returning several items in list context if they all have the same value.