On Wed, Sep 17, 2014 at 2:25 AM, Karen Etheridge <p...@froods.org> wrote:
> > You can use cpanm with any mirror(s) you like. I have a shell alias set up > so 'cpanm $module' always pulls from my local mirror first, falling back to > cpan.org on failure. > I have not thought about actually "configuring" cpanm. Now I tried the following: cpanm --mirror https://www.cpan.org/ --mirror http://cpan.cpantesters.org/ --mirror https://cpan.metacpan.org/ WWW::Shorten and it was very slow. If I just run cpanm WWW::Shorten it fails within second. If I give it 2 or 3 mirrors it takes ages (I think a minute or more) till it notices that the file cannot be found on www.cpan.org. It then retries it several times (each one taking ages again) before it goes on to the next mirror. Do I need to do it in some other way in order to get back the "fast failing" on the first mirror? Gabor ps. running with just one mirror worked fine and the module got installed quickly. cpanm --mirror http://cpan.cpantesters.org/ WWW::Shorten