Do you know where your variables are? | |
PerlMonks |
Re: Challenge: sort weekdays in week-order (elegantly and efficiently)by haukex (Archbishop) |
on Jul 22, 2022 at 14:10 UTC ( [id://11145658]=note: print w/replies, xml ) | Need Help?? |
I agree with the others that using a module like Time::Piece, DateTime, or at least Sort::Key is the right way to go about this. But just for fun, TIMTWOTDI, and to fulfill your "some kind of transform" idea:
Update: Anagram'd
In Section
Cool Uses for Perl
|
|