Just another Perl shrine | |
PerlMonks |
Re^2: looking for feedback on my first scriptby hippo (Bishop) |
on Jan 08, 2021 at 16:20 UTC ( [id://11126615]=note: print w/replies, xml ) | Need Help?? |
I would suggest you take the time to study Time::Piece and/or DateTime instead of the basic localtime stuff you're doing here Completely agree. I'd also point out that of the two Time::Piece is always my first port of call as it is small and in core and is good enough for 95% of the date/time work I need to do. By contrast, DateTime is a bit of a monster but it does cater pretty well for the remaining 5% of cases. 🦛
In Section
Seekers of Perl Wisdom
|
|