Do you know where your variables are? | |
PerlMonks |
Re^3: Challenge: sort weekdays in week-order (elegantly and efficiently)by roho (Bishop) |
on Jul 23, 2022 at 21:45 UTC ( [id://11145672]=note: print w/replies, xml ) | Need Help?? |
++tybalt89!! That was a very clever use of "tr" and its options. I added a small tweak using unshift and pop to put Sunday first.
"It's not how hard you work, it's how much you get done."
In Section
Cool Uses for Perl
|
|