laziness, impatience, and hubris | |
PerlMonks |
Re^2: Sort list by position of items in another listby gflohr (Acolyte) |
on Feb 18, 2022 at 18:17 UTC ( [id://11141474]=note: print w/replies, xml ) | Need Help?? |
Yes, List::Util::sort_by makes it look better. Maybe, the Pythonian sorted() could also be an enhancement for List::Util resp. List::MoreUtils.
In Section
Seekers of Perl Wisdom
|
|