Perl PPM etc. through proxy

In order for Perl to work through a proxy (for Perl Package Manager, etc) you need to define the proxy as a system environment variable:

Right click on “My Computer”, click on “Properties” and select the “Advanced” tab. Click the button marked “Environment Variables” and make the following changes in the “System Variables” window:

  1. With the “New” button, add the setting HTTP_proxy, with your proxy name as the value (you must include ”
    1
    http://

    “), followed by a colon and the proxy port, if applicable; e.g., ”

    1
    http://proxy:8080

  2. If you require a user name and/or password to access your proxy, use the “New” button to add the settings HTTP_proxy_user and HTTP_proxy_pass, with your user name and password as the respective values.

From the ActivePerl FAQ.

Comments are closed.