in reply to Proper CPAN Installation
I know this question has been asked before, but I can't seem to get consistent answers. I'm hoping your experience can guide me in the right direction. I attempted to install CPAN and I believe I have two installs, one in the ~/.cpan directory and the other in /var/root/.cpan directory. Is this normal or should I get rid of one ? If not proper, which one should I remove ?
I think I did one with sudo su and one without.
What question?
CPAN comes installed with perl, so you shouldn't need to install it, but you might need to configure it, so
So which configuration did you create and which one already existed?
How did you configure the one you created?
Leave everything alone :)
Spend some time reading the following and come back and ask questions
https://metacpan.org/pod/CPAN#CONFIGURATION and sh Configure -Dprefix=/home/username/perl -des and PERL5LIB/A Guide To Installing Modules/perlmodinstall/Re: Unable to install perl module Sendmail...
Also heed the advice of the others, leave the system/vendor perl alone , install your own, you don't need perlbrew to install your own its just a helper
|
|---|