Just to update
This is the module call:
use Pcalc qw(Delta_Days Add_Delta_Days Date_to_Days leap_year check_date);
this is the sub call:
$startdate = Date_to_Days($tyear,$tmonth,$tday);
this is the error:
Undefined subroutine &main::Date_to_Days called at newcaldb.cgi (my main script) line 165
The module and main script are in the same directory.
Thanks to all who have replied to date. I'll get it yet.
Seasons Best
Colin
Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.209 / Virus Database: 261.5.2 - Release Date: 20/12/2003
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>