hardcoded URL http://search.cpan.org/CPAN/authors/id/ #208

Closed
andk opened this Issue May 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@andk

andk commented May 19, 2012

https://metacpan.org/source/GUGOD/App-perlbrew-0.42/lib/App/perlbrew.pm#L620

Hardcoded URLs in programs make me always nervous. There is the case that I have a local mirror, that the URL goes away, that I disturb the owner of the URL, etc., etc.

Can we have a perlbrew that lets me choose from where the download happens?

Thanks!

@gugod

This comment has been minimized.

Show comment Hide comment
@gugod

gugod Dec 30, 2015

Owner

There are still some search.cpan.org URLs in the code, but now we can set this env var:

PERLBREW_CPAN_MIRROR

To a "http://" cpan mirror URL to allow downloading perl tarballs from different mirrors. I'm closing this issue now... let me know if more actions are needed.

Owner

gugod commented Dec 30, 2015

There are still some search.cpan.org URLs in the code, but now we can set this env var:

PERLBREW_CPAN_MIRROR

To a "http://" cpan mirror URL to allow downloading perl tarballs from different mirrors. I'm closing this issue now... let me know if more actions are needed.

@gugod gugod closed this Dec 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment