http://qs1969.pair.com?node_id=460352


in reply to perl -V using weird @INC

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
Robartes-