Subject: | Doesn't work with local http_proxy |
I have a Squid proxy on my laptop:
rob@junai:~$ echo $http_proxy
http://junai:3128
This host is configured appropriately in /etc/hosts
127.0.0.1 junai junai.home localhost
perlbrew returns _immediately_ with errors like the following:
rob@junai:~$ perlbrew mirror
Fetching mirror list
Fail to get http://search.cpan.org/mirror (error: Connection timed out)
at /home/rob/perl5/perlbrew/bin/perlbrew line 1278.
Clearing http_proxy before running works:
rob@junai:~$ http_proxy= perlbrew mirror
Fetching mirror list
[ 1] Africa, South Africa, Cape Town (mirror.ac.za)
[ 2] Africa, South Africa, Gauteng, Johannesburg (is.co.za)
...