Re: Loading Modules - More

2003-12-22 Thread drieux
On Dec 22, 2003, at 1:51 PM, Owen wrote: On Tue, 23 Dec 2003 09:53:09 +1300 Support <[EMAIL PROTECTED]> wrote: use Pcalc qw(Delta_Days Add_Delta_Days Date_to_Days leap_year check_date); See my previous message, you need to make a a directory "Date" in your working directory and place Pcalc in the

Re: Loading Modules - More

2003-12-22 Thread drieux
On Dec 22, 2003, at 12:53 PM, Support wrote: Thanks to all those who have replied 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

RE: Loading Modules - More

2003-12-22 Thread Support
Thanks Dan I've read the Exporter docs and the module seems to be OK there. I'm pretty sure everything is OK with the module and the export/import functions. Using 'strict' and 'warnings' is telling me: 'Use of uninitialized value in length at newcaldb.cgi line 165' and I still sub error when I

Re: Loading Modules - More

2003-12-22 Thread Owen
On Tue, 23 Dec 2003 09:53:09 +1300 Support <[EMAIL PROTECTED]> wrote: > use Pcalc qw(Delta_Days Add_Delta_Days Date_to_Days leap_year check_date); See my previous message, you need to make a a directory "Date" in your working directory and place Pcalc in there use Date::Pcalc qw(Delta_Days Ad

RE: Loading Modules - More

2003-12-22 Thread Dan Muey
> 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: use strict; use warnings; Always always while developing a script and afterward unless oyu have