Means that it can't find the DBI module anywhere in the @INC. Are you using
mod-perl?
Either way, if everything is installed well, but you installed in a non @INC
directory you can use
BEGIN{push(@INC, /directory/goes/here);}
or
use lib /directory/goes/here;
use DBI;
Ilya Sterin
-----Original Message-----
From: Vivek Kakade
To: [EMAIL PROTECTED]
Sent: 05/11/2001 1:43 PM
Subject: DBI Module..
Hi
I am trying to use DBI module from CPAN, which is installed on Apache
web
server 1.3.12, to connect to MySQL Database (on another server) . The
Apache
web server is installed on Linux. But I am constantly getting the
folllowing
error ...
----------------------------
Can't locate loadable object for module DBI in @INC (@INC contains:
/usr/lib/per
l5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-lin
ux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at
/usr/lib/perl5/
site_perl/5.6.0/i386-linux/DBI.pm line 182
----------------------------
Does it mean that there is some problem with the installation of the
Apache
server ?? If yes, what could it be ?? Because I get the same error for
module
GD if I try to use a script that is supposed to plot a graph...
Also, how do I modify the contents of the @INC ??
Thanks very much....
Vivek