Hi, I really need of help...
I don't make a request for a HTTPS protocol. The simple script is:
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"?)"
I don't understand... the LWP library support the HTTPS protocol or not???
Thanks so much...
Elofran Marques
Web Developer - Brazil