The stupid question is the question not asked | |
PerlMonks |
Re^3: Last month's number with Time::Pieceby Anonymous Monk |
on Dec 05, 2014 at 14:20 UTC ( [id://1109356]=note: print w/replies, xml ) | Need Help?? |
just a short observation - to make this work correctly, add a line like this before calling strptime:
if (length($last_month) == 1) { $last_month = "0" . $last_month; }
In Section
Seekers of Perl Wisdom
|
|