laziness, impatience, and hubris | |
PerlMonks |
Re^3: Challenge: sort weekdays in week-order (elegantly and efficiently)by ikegami (Patriarch) |
on Jul 26, 2022 at 16:46 UTC ( [id://11145763]=note: print w/replies, xml ) | Need Help?? |
OM is basically ST, but where the sort is provided the default comparison function ($a cmp $b). Technically, any of the four builtin compare functions would work equally fast.
In Section
Cool Uses for Perl
|
|