Hello all.
Putting it simply, I need to find the number of days between two dates and do something if the days are < 30 and something else if days >= 30.
The 'something' my script has to do is not important at the moment.
I have been playing around with a few ideas but have been somewhat overwhelmed by the number of Date manipulation modules on CPAN!
Having more time I probably would have been able to pick the best suited to my requirements.
Time::Interval seems to be a good pick, however there seems to be quite a lot of manipulation that has to be done on the input and returned data.
Has anyone used this module for a similar task?
Can anyone suggest a different module that would be simpler/quicker to use?
Thanks,
Lachlan.
Alchemy is easy with Perl!
s/lead/gold/g;
Putting it simply, I need to find the number of days between two dates and do something if the days are < 30 and something else if days >= 30.
The 'something' my script has to do is not important at the moment.
I have been playing around with a few ideas but have been somewhat overwhelmed by the number of Date manipulation modules on CPAN!
Having more time I probably would have been able to pick the best suited to my requirements.
Time::Interval seems to be a good pick, however there seems to be quite a lot of manipulation that has to be done on the input and returned data.
Has anyone used this module for a similar task?
Can anyone suggest a different module that would be simpler/quicker to use?
Thanks,
Lachlan.
Alchemy is easy with Perl!
s/lead/gold/g;