On Fri, Jan 18, 2002 at 04:45:28PM -0300, Elofran Marques wrote:
> require LWP::UserAgent;
> $ua = LWP::UserAgent->new;
> $request = HTTP::Request->new("GET", "https://www.webcompre.com.br");
> print "error" if $ua->is_protocol_supported("https");
> $response = $ua->request($request);
> if ($response->is_success) {
> print $response->content;
> } else {
> print $response->message;
> }
>
> It returns the message: "Can't locate object method "new" via package
>"LWP::Protocol::https" (perhaps you forgot to load "LWP::Protocol::https"?)"
What I do in these circumstances is to look for this error message in Google and
voila:
http:[EMAIL PROTECTED]/msg03019.html
\RHO