Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: CPAN module and @INCby andreychek (Parson) |
on Jul 01, 2001 at 10:15 UTC ( [id://92992]=note: print w/replies, xml ) | Need Help?? |
I unfortunatly do not know any methods to "permanently" change the @INC path, without recompiling Perl. Recompiling Perl always is an option though -- and if you are using some version of Linux, you could always use one of those prepackaged versions if you aren't in the mood to compile. If you choose to recompile, just check to make sure it's setting @INC paths properly at compile time (I believe it's a compile time option if I'm not mistaken). Since CPAN insists on putting things in /usr/lib/perl5 on your box, it sounds like your Perl install is confused. First off, are you certain that you don't have any rogue versions of Perl living in /usr/bin? If so, that could certainly cause the problem you're seeing now. However, assuming thats not the problem, and for some reason or another you don't really feel like recompiling everything, there are two fairly simple things you could do to remedy your problem: -Eric
In Section
Seekers of Perl Wisdom
|
|