If I've understood you correctly, then all you need to do is:
export PERL5LIB=~/perl_libThe use of this environment variable is given in the perlrun manpage.
In reply to Re: How to set the path of cpan library in bash script
by hippo
in thread How to set the path of cpan library in bash script
by viktor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |