D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Perl @INC configuration



On Thu, Oct 03, 2002 at 09:29:51PM +0100, jody salt wrote:

Indeed, print it to see what's in it.

/usr/lib/perl5/5.6.0/i386-linux

perl -V

Summary of my perl5 (revision 5.0 version 8 subversion
    /usr/local/lib/perl5/5.8.0/i686-linux
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl

This is not the same per as above, is it?

locate mysql.pm

/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Bundle/DBD/mysql.pm
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBD/mysql.pm
/root/.cpan/build/DBD-mysql-2.1020/lib/DBD/mysql.pm
/root/.cpan/build/DBD-mysql-2.1020/lib/Bundle/DBD/mysql.pm
/root/.cpan/build/DBD-mysql-2.1020/blib/lib/DBD/mysql.pm
/root/.cpan/build/DBD-mysql-2.1020/blib/lib/Bundle/DBD/mysql.pm
/e2h36/mysql.pm

I presume this is the one which works.

How do you reconfigure it is here a standard command.
I run it in shell mode (perl -MCPAN -e shell)

There is come conf thing in the manual page. However, I would have
thought it would have used @INC, at some point.

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly