Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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:
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. In reply to Re: Multiple Library Includes
by hawtin
|
|