CPAN mirror with cpanm
Jump to navigation
Jump to search
If cpanm commands give an error that download failed (for example from search.cpan.org), try changing the mirror using an environment variable:
export PERL_CPANM_OPT="--mirror http://www.cpan.org/"
Then re-run the cpanm command.