good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Adding to datesby Ponky (Curate) |
on Aug 23, 2006 at 02:38 UTC ( [id://569009]=note: print w/replies, xml ) | Need Help?? |
A little improvement is to include the duration definition in the add call:
Then you don't need the use DateTime::Duration either.
In Section
Seekers of Perl Wisdom
|
|