|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: argmin & argmaxby tybalt89 (Monsignor) |
| on May 11, 2025 at 19:21 UTC ( [id://11165010]=note: print w/replies, xml ) | Need Help?? |
|
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.
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||||