Difference between revisions of "CPAN mirror with cpanm"

From Integrics Wiki
Jump to: navigation, search
(Created page with "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="--m...")
 
(No difference)

Latest revision as of 05:19, 13 September 2018

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.