Hi Chris.
There are many ways to do it. This is another one:
use Date::Tie; tie my %date, 'Date::Tie'; $date{week} += 2; # today + 2weeks print "$date{month}/$date{day}\n";
update: Re: module installation -- error: Can't locate Date/Tie.pm
Windows:
ppm install Date::Tie
Unix:
perl -MCPAN -e shell install Date::Tie
In reply to Re: Adding to dates
by fglock
in thread Adding to dates
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |