Re: Adding a library to @INC



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jay,

You need to set the PERL5LIB path to include the directory of the DBI.pm module.

Steve

Jay Caviness wrote:
> I have discovered that my Oracle installation has the DBI.pm module in
> it. I really want to use this, but don't know how to have the @INC see
> it when I do:
>
> oracle> perl -e "use DBI;"
>
> Can't locate DBI.pm in @INC (@INC contains:
> /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
> /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
> /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
> /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
>

- --

===================================================================
Steve Mayer Oracle Corporation
Principal Member of Technical Staff Portland Development Center
Oracle Collaboration Suite 1211 SW 5th Ave.
Stephen.Mayer@xxxxxxxxxx Suite 900
Phone: 503-525-3127 Portland, OR 97204
===================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC59s3C4cakfkZLXQRAvPCAJ4wxT5cyeXFgi6yDZWl0izoEKy/AACfRjfo
RXDFR1mWV1h7/FURBAzBSrg=
=lnWU
-----END PGP SIGNATURE-----
.