On Sun, Sep 16, 2001 at 11:40:20AM -0400, Thomas Stanley wrote:

> Name: Thomas Stanley
> Email: [EMAIL PROTECTED]
> Homepage: N/A
> Preferred User Id: TSTANLEY
> Description: I would like to contribute a module called Date::Lastday.  
> This module can be used to calculate the date of the previous day (i.e. 
> Today is 16 Sep 2001, the module will accurately calculate the date of 
> yesterday, which was the 15th.) This module is accurate enough to provide 
> coverage for the 1st of each month (including New Year's Day), and for 
> leap years.Get more from the Web.  

Like this?

   #!/usr/local/bin/perl

   use Date::Manip;

   $yesterday = ParseDate("yesterday");

-- 
Clay Irving <[EMAIL PROTECTED]>
Breast Feeding should not be attempted by fathers with hairy chests,
since they can make the baby sneeze and give it wind.
- Mike Harding, "The Armchair Anarchist's Almanac"

Reply via email to