Think about Loose Coupling | |
PerlMonks |
Re: is today a fridayby izut (Chaplain) |
on Mar 10, 2006 at 19:07 UTC ( [id://535785]=note: print w/replies, xml ) | Need Help?? |
localtime can receive an argument, which is the number of seconds since epoch. You can get today's time with time function, and then add the time needed in seconds (i.e. tomorrow will be time() + 24 * 60 * 60 * $days, where $days will be 1, and so). I think it's enough for starting. You can also check Date::Manip, Date::Calc and others. Good luck!
Igor 'izut' Sutton
In Section
Seekers of Perl Wisdom
|
|