[CentOS] installing perl-CPAN without perl-local-lib

Mon Jun 4 12:26:51 UTC 2018
Gary Stainburn <gary at ringways.co.uk>

On Monday 04 June 2018 12:30:11 Pete Biggs wrote:
> There's lots of info on it on the web. For the definitive answers look
> long the local::lib pages on CPAN - basically there are environment
> variables you can set to say where things are to be installed.
> Also, I think when you first run CPAN one of the questions it asks is
> where to install things - if you let CPAN configure itself it defaults
> to a local install. You can re-run the CPAN initial config by doing
>   o conf init
> at the CPAN prompt.  You may have to clean up your .bashrc as well.
> This is probably the most useful link I found
> https://stackoverflow.com/questions/32726324/i-installed-a-module-successfu

I simply removed the bashrc entries and that was enough to let me install the 
modules system wide.  I will also investigate cpanspec when I get more chance