Local CPAN

For some reason, Perl is being forgotten by companies - irrespective of the power of the langurage - and preference for Python.

You can use the following command to download CPAN to build a local CPAN repository.

$ cd $HOME
$ mkdir CPAN
$ /usr/bin/rsync -av --delete cpan-rsync.perl.org::CPAN ./CPAN
.  . ..

Once it is downloaded, you need to change the urllist to search this directory. It needs to be a complete URL - otherwise, it will not be accepted.

cpan[1]> o conf pushy_https 0
cpan[2]> o conf urllist push $HOME/CPAN