Re: perlfaq4: How do I find yesterday's date?
[email protected] (_brian_d_foy)
| Newsgroups | perl.perlfaq.workers,perl.documentation |
|---|---|
| Message-ID | <251020020102422045%[email protected]> |
In article <[email protected]>, Philip Newton <[email protected]> wrote: > On Thu, 24 Oct 2002 15:09:13 -0500, [email protected] (_brian_d_foy) > wrote: > > + use Date::Calc qw(Today Add_Delta_Days); > > + > > + my @date = Add_Delta_Days( Today(), -1 ); > > + > > + print "@date\n"; > Hm, should we be teaching "@variable" in a FAQ? can you come up with something that takes less to explain?