Thursday, April 23, 2009

PPM through proxy server

Something that users(I :)) forget to do on a newly formatted box..

If the Perl Package Manager is not accessible through your proxy then you cannot download/install packages through the ppm. To get around this issue one needs to explicitly specify the proxy server address and the port to use.

Heres the How-To

1. Open cmd prompt
2. type in: SET HTTP_proxy=http://proxy_server:port

Now you should be able to access and install all packages from CPAN.

No comments:

Post a Comment