in reply to Adding to dates
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Adding to dates
by Anonymous Monk on Aug 08, 2002 at 15:14 UTC | |
by Anonymous Monk on Aug 08, 2002 at 15:24 UTC |