http://www.perlmonks.org?node_id=237111

abhishes has asked for the wisdom of the Perl Monks concerning the following question:

Hello Perl Monks,

I am trying to use perl to connect to a url and download a web page. I am connected to the internet using a proxy server. moreover, the proxy server needs authentication..so I need to pass user id and password.

I checked out Net::HTTP package documentation but it did not contain anything on proxy configuration. Please give me some links which show how can this be done. I was tempted to use Win32::Internet module because there the proxy documentation is there but then my script will not be portable.

regards,
Abhishek