Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: PERL5OPT and -M

by xdg (Monsignor)
on Mar 11, 2009 at 01:44 UTC ( #749767=note: print w/replies, xml ) Need Help??


in reply to PERL5OPT and -M

If you set PERL5OPT to -I/my/personal/lib that should take effect before any "-M" options are processed. Or use PERL5LIB (unless you need to run code in taint mode).

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.