Perl-Sensitive Sunglasses | |
PerlMonks |
timelocal error wired behaviourby Anonymous Monk |
on Sep 30, 2014 at 06:44 UTC ( [id://1102416]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am getting a date input from a csv file, which i want to check each date with current date, and if older than 1 month, i can do some operation on it for that entry. I am not allowed to install extra libs so, i am not using Date::Calc and have to somehow stick to Time::Local. Here is the snippet of my code, and suggest where I am going wrong. Code :
Output
After this, it ubruptly ends, even when i have some 100 odd entries to go. Thanks a lot in advance
Back to
Seekers of Perl Wisdom
|
|