Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Why cant I connect through a proxy using perl?

by redbrick (Initiate)
on May 14, 2002 at 19:25 UTC ( [id://166545]=note: print w/replies, xml ) Need Help??


in reply to Why cant I connect through a proxy using perl?

Mmm... I am also new to this stuff, but while I was wandering around hacking deluge (a web stress tool http://deluge.sourceforge.net), I found the following code:

$ua->env_proxy();

where $ua is an instance of UserAgent. And in the UserAgent pod, I found that this command imports proxy settings from the following enviroment vars: http_proxy and ftp_proxy.

Hope that this works for you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://166545]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-23 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found