Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to install modules for local perl without changing anything on system perl?

by graff (Chancellor)
on Dec 23, 2015 at 23:48 UTC ( [id://1151088]=note: print w/replies, xml ) Need Help??


in reply to [Solved]: How to install modules for local perl without changing anything on system perl?

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.

You're right, and you can be sure about it. When you run /usr/bin/perl -V you'll see the directories that will be affected by installing modules via /usr/bin/perl -MCPAN -e shell

Likewise, when you run /opt/apps/perl/perl5220/bin/perl -V you'll see the directories that are affected when you run CPAN via this instance of perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1151088]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-05-25 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found