You could use sudo to run the cpan command, but you may want to leave the system perl alone. Did you look at the second link:
curl -L http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib"This will install either cpanminus and local::lib (and all other required modules) locally into $HOME/perl5 directory."
Follow the other config step which follows and you should be fine. If you look at local::lib it describes the boostrapping technique used.
In reply to Re^3: cpan error - module installation
by marto
in thread cpan error - module installation
by ic23oluk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |