Hi Joris!
The correct use is
--------------------------------------------------------------------
use LWP::UserAgent;
use HTTP::Request::Common;
my $proxy = "proxy.provider.be:8080";
my $ua = LWP::UserAgent->new;
$ua->proxy(['http'], "http://$Proxy/");
$response = $ua->request(GET $URL);
--------------------------------------------------------------------
Hope this helps.
-Mark
> -----Original Message-----
> From: Joris Lambrecht [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 3:55 PM
> To: '[EMAIL PROTECTED]'
> Subject: libwww/LWP and proxy
>
>
> hi,
>
> i'm not confident on how to enable the use of a proxy
> in my perl/asp script.
> i suppose it's something like
>
> use LWP::simple
> $ua->proxy='http://proxy.provider.be:8080'
>
> i'm out in the blue and cannot find adequate
> documentation. (tried
> activestate)
> Any help would be most welcome.
>
>
> Thank You,
>
>
> Joris Lambrecht
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activeperl
>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl