Thanks, you are right its not in @INC, I am not sure though how my other
pages are working ??

-----Original Message-----
From: drieux [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 16, 2002 10:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Help with my first package??



On Thursday, May 16, 2002, at 06:22 , Miretsky, Anya wrote:

> I've tried both now and I still get the error "can't locate DBI.pm in 
> @INC.." I've used the DBI module successfully in my other cgi pages so 
> I can't understand why its not being found here???

That sounds like:

        a) it is no longer installed
        b) that a rebuild of the perl no longer has
                the path set in @INC to where it was/is installed

If you have a command line login on the machine then

disky: 58:] perl -mDBI -e 'print DBI::VERSION'
Can't locate DBI.pm in @INC (@INC contains: 
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 
/usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
disky: 59:]

will help verify that it does not exist in the @INC - just
as you should be seeing in your error message.

what you would like to get back is something like:

[jeeves:~] perl -m"Inline::Files" -e 'print "$Inline::Files::VERSION\n";'
0.60 [jeeves:~]

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to