|There's more than one way to do things|
NOT NEW but confused - set cpan paths from the startby hput3 (Initiate)
|on Apr 10, 2017 at 22:21 UTC||Need Help??|
hput3 has asked for the wisdom of the Perl Monks concerning the following question:
Masters and students,
Please bare with me as I know this topic has been rather well trodden. So well that one finds lots of confusing hits on google some are well dated as well.
I want to know how to manage either CPAN or CPANPLUS such that From the first startup it opens on /usr/local/cpan and does all work there, with installations at /usr/local/lib/perl5/[...]
I'm thinking one could create the requisite config with all the correct info, paths etc in place so that when cpan opened, it would find the pre-made config and know just what to do. Never creating a `~/.cpan' at all.
A sort of final word for Apr 2017 exactly which items need adjustment, and what they should say.
I have root if that makes a difference.