my $url = "https://xxx.yyy.jp"; my $request = HTTP::Request->new(GET => $url); my $ua = LWP::UserAgent->new; my $res = $ua->request($request); my $resutl = $res->content;
There is no problem with HTTP pages, but it fails with HTTPS.
cpan istall LWP::Protocol::https
Cpanm Crypt::SSLeay