chaskins has asked for the wisdom of the Perl Monks concerning the following question:
Many thanks for any help. Chrisuse LWP::UserAgent; $ua = LWP::UserAgent->new; $ua->proxy('http', 'http://my.proxy:8000/'); $request = HTTP::Request->new('GET', 'http://www.perlmonks.org'); $response = $ua->request($request); $bob = $response->as_string(); print "$bob \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems with UserAgent to get through proxy
by rob_au (Abbot) on Jan 17, 2002 at 18:10 UTC | |
by chaskins (Sexton) on Jan 17, 2002 at 19:03 UTC | |
by chaskins (Sexton) on Jan 17, 2002 at 18:17 UTC | |
by rob_au (Abbot) on Jan 17, 2002 at 18:29 UTC | |
|
Re: Problems with UserAgent to get through proxy
by PrakashK (Pilgrim) on Jan 17, 2002 at 19:16 UTC |