CPAN mirror with cpanm

From Integrics Wiki
Revision as of 05:19, 13 September 2018 by Dcunningham (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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.