in reply to Multiple Library Includes
I think that setting $PERL5LIB will do what you want, add the following to your profile (.login/ .tcshrc or whatever):
setenv PERL5LIB /usr/local/lib:/app/common/cpan:/app/subapp/cpanAlternately you can pass -I flags (for example by editing the shebang line in your scripts).
And finally you can modify @INC in the scripts before calling require:
push(@INC,"/app/subapp/cpan"); require Module97;
If you can recompile and reinstall Perl that solution is a good idea, but if not there is more than one way to do it.
|
|---|