I'm about to lose my mind. How in the world do you tell CPAN to download via HTTP only? ...and NOT via a proxy.
|
feedback
|
|
Simplest way of having it not use FTP is to shove HTTP URLs on the front of your urllist - or replace it completely like sebastionopilla said. You can do it from inside the cpan shell too:
You can use
to empty it first if you wish. Use
to turn off the proxy. Use
to save the config | |||
|
feedback
|
|
Try putting only HTTP URLs in your CPAN's Config.pm file, like:
I routinely do this and as far as I can see there's no FTP traffic to any CPAN mirror. | |||
|
feedback
|
|
If you don't want to use a cpan shell, you can also edit your cpan config file with a text editor, in unix systems it's here: ~/.cpan/CPAN/MyConfig.pm Of course, the field to change in your particular question is 'http_proxy'. | |||
|
feedback
|
| |||
|
feedback
|
|
Try these:
That will disable any http proxy CPAN is configured to use. | ||||
|
feedback
|