Perl: the Markov chain saw | |
PerlMonks |
Re: RFC: List of first day of each monthby 1nickt (Canon) |
on Jan 31, 2020 at 15:53 UTC ( [id://11112186]=note: print w/replies, xml ) | Need Help?? |
Hi, I eschew Time::Piece for date math. It has some weird internal issues with constants and overloading, which I don't completely understand, but people I trust including some wiser and more experienced Monks than I, recommend against it. (See e.g. comments in this discussion.) Alternate solution using Time::Moment which IIUC is as accurate as DateTime but considerably lighter-weight: Output:
Hope this helps!
The way forward always starts with a minimal test.
In Section
Meditations
|
|