On a system level, adding a directory to the Perl library path

Posted by paulj3000 on Stack Overflow See other posts from Stack Overflow or by paulj3000
Published on 2010-03-25T19:23:36Z Indexed on 2010/03/25 19:43 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

On a standard linux set up, where can I add a directory to the @INC variable?

In the /etc/profile file, I added:

 export PERLLIB=$PERLLIB:/foo/bar
 export PERL5LIB=$PERL5LIB:/foo/bar

Thanks

© Stack Overflow or respective owner

Related posts about perl

Related posts about linux