On Thu, 1 Aug 2002, Lewis, Chris wrote: > When trying to compile my script I get the error below, although I have the > Date::Calc module in my @INC path... Any ideas? Thanks... > > C:\perl\code\eventmon>perl eventwatch.pl > Can't locate loadable object for module Date::Calc in @INC (@INC contains: > C:/Ariba/Buyer7 > /CoreServer/perl5/x86/lib C:/Ariba/Buyer7/CoreServer/perl5/x86/site/lib .) > at eventwatch.pl line 19 > BEGIN failed--compilation aborted at eventwatch.pl line 19. > > > The beginning of the script is as follows: > > #!perl > > # > #Created: 08-21-2001 > #Last Revision: 08-21-2001 > #REVISION NUMBER - 20010821-01 > > > ###### > ## Script Name: EVENTWATCH > ## Description: This script processes event log messages on > multiple servers > ## and correlates the events to generate alerts based > on user > ## defined thresholds. > ## > > > use vars qw( $log $message ); > use strict; > use Date::Calc qw( Delta_DHMS ); > use Net::SMTP; > use Time::localtime; > use Win32::OLE qw( HRESULT ); >
What is the full path name of the Date::Calc module? Note, the error message does not say that Date::Calc can not be located. I think that it can't find Delta_DHMS. **** [EMAIL PROTECTED] <Carl Jolley> **** All opinions are my own and not necessarily those of my employer **** _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs