Welcome to the Monastery | |
PerlMonks |
Re: perl -V using weird @INCby robartes (Priest) |
on May 25, 2005 at 15:22 UTC ( [id://460352]=note: print w/replies, xml ) | Need Help?? |
Go whack your vendor over the head with a copy of the Camel. It looks as if your perl version was compiled with the /tmp/p561 directory as prefix, hence the compiled in @INC points there. Obviously, the perl binary and modules (including Config.pm) are shipped in a different directory. Three ways of getting around this are use lib qw(/perl/lib/directory) in your scripts, setting the PERL5LIB environment variable to the correct dir, or running perl with -I (see perlrun for that last one). CU
In Section
Seekers of Perl Wisdom
|
|