Think about Loose Coupling | |
PerlMonks |
Re: How to calculate if today is before May 1by johngg (Canon) |
on Dec 29, 2019 at 15:34 UTC ( [id://11110728]=note: print w/replies, xml ) | Need Help?? |
You could use the Time::Piece module which has been in the core Perl distribution since 5.10 I believe.
I hope this is helpful. Update:The "false" part of the ternary would more accurately say "On or after 1st May" being pedantic. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|