cLive ;-) has asked for the wisdom of the Perl Monks concerning the following question:
When I run perl -MCPAN -e'shell' to install a perl module, the lovely thingy decides to stick the modules in:
But @INC, in all its wisdom decides to only include look at directories under:/usr/lib/perl5/site_perl
/usr/local/lib/perl5/site_perl
Yes, I know I can push @INC in my script, but what I want to know is:
"Is there any way to re-configure perl or the CPAN module so that modules added by CPAN can be found in @INC by default?
I heard that pushing into @INC effects taint mode, so would very much like to avoid this.
Any thoughts from the brothers and sisters?
cLive ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN module and @INC
by andreychek (Parson) on Jul 01, 2001 at 10:15 UTC | |
|
Re: CPAN module and @INC
by chipmunk (Parson) on Jul 01, 2001 at 19:59 UTC | |
|
Re: CPAN module and @INC
by bikeNomad (Priest) on Jul 01, 2001 at 19:01 UTC | |
|
Re: CPAN module and @INC
by cLive ;-) (Prior) on Jul 01, 2001 at 20:13 UTC | |
|
Re: CPAN module and @INC
by cLive ;-) (Prior) on Jul 01, 2001 at 09:18 UTC |