use strict;
use HTTP::Request::Common;
use LWP::UserAgent;
use HTTP::Cookies;
...............................
my $ua = LWP::UserAgent->new;
my $req = HTTP::Request->new('GET', 'https://mysite.com');
my $res2 = $ua->request($req);
$res2 = $res2->as_string;
Перл пишет в ответ
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
Пытаюсь поставить OpenSSL, пишет
Can't use string ("SSL.pm") as a HASH ref while "strict refs" in use at C:/Perl/
lib/ExtUtils/Install.pm line 996.