in reply to Compact script for time difference in seconds
You should use time
perl -le "print q!10 seconds in the future !, scalar localtime(time + +10);" 10 seconds in the future Wed Sep 16 15:05:50 2009
which are an overkill for my purpose.
How did you determine that? I don't know how to do it without Date::Calc ergo Date::Calc is overkill? :)
If you still advocate using Date::Manip for my really small task
Why suffer for a really small task?
|
|---|