I have a question related to system perl and local perl (that we are planning to use for our application)
The system perl is at /usr/bin/perl and the local that we have installed for our application is at /opt/apps/perl/perl5220/bin/perl (both on the same host/linux box)
Now if I want to install modules from CPAN for the app perl (the one at /opt/apps/perl/perl5220/bin/perl) without changing anything on the system perl (the one at /usr/bin/perl) then will it be ok to do: /opt/apps/perl/perl5220/bin/cpan -i Template?
I didn't want to try it and see what happens if it has a chance to mess things up.
Per Llama book, "by default, the CPAN tools want to install new modules into the same directories where perl is." So I think if I use cpan for the local perl then it should install modules for itself rather than system perl, but not 100% sure about it.
In reply to [Solved]: How to install modules for local perl without changing anything on system perl? by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |