How can I add a directory to the Perl library path at the system level?
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
23:23 UTC
Read the original article
Hit count: 288
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