in reply to Re^3: LWP::Simple on HTTPS sites
in thread LWP::Simple on HTTPS sites

What do you get running this ?

#!perl use strict; use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $res = $ua->get('https://xkcd.com/'); print join "\n",$],$LWP::UserAgent::VERSION, $ua->_agent,$res->status_line;
poj

Replies are listed 'Best First'.
Re^5: LWP::Simple on HTTPS sites
by rbhyland (Acolyte) on Feb 13, 2017 at 12:09 UTC
    5.016003 6.04 libwww-perl/6.04 501 Can't load 'C:/xampp/perl/vendor/lib/auto/Net/SSLeay/SSLeay.dll' for module Net::SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed)

      "LWP::Protocol::https not installed)"

      From the documentation:

      "The libwww-perl core no longer bundles protocol plugins for SSL. You will need to install LWP::Protocol::https separately to enable support for processing https-URLs."

      cpanm LWP::Protocol::https

      If cpanm does not work, then try using ppm

      >c:\xampp\perl\bin\ppm install Net::SSLeay >c:\xampp\perl\bin\ppm install LWP::Protocol::https
      poj