That means you haven't installed it, installed it in a non-standard
location, or installed it under a different Perl than you are running the
script with.
One thing to make sure, is that if you have more than one perl installed on
the machine, you are installing and running it with the same one. **hint**
Just saying perl might not point to the perl you think it does **hint**
If you installed it in a custom directory with PREFIX=... then you'll have
to add that path to @INC.
Ilya
-----Original Message-----
From: Wilkinson,Alex
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 5/5/02 10:23 PM
Subject: DBI.pm
Howdy Crew,
I have just installed the DBI.pm module manually.
However, Perl cannot seem to find the module.
eg.
Can't locate DBI.pm in @INC (@INC contains:
/usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at
../run-all-tests line 36.
BEGIN failed--compilation aborted at ./run-all-tests line 36.
Question: How can I add something to my path for Perl to check for its
modules ?
I have installed the Perl Module in:
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/DBI.pm
/usr/local/bin/perl5.6.1 -v
This is perl, v5.6.1 built for sun4-solaris
Thanks
- Alex