http://www.perlmonks.org?node_id=486102


in reply to Re^2: How to change @INC permanently?
in thread How to change @INC permanently?

A somewhat simpler approach for a "semi-permanent" solution may be to set the PERL5LIB environment variable to the directories you want to always make available. See perlrun.

-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.