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

Here is my current output:

c:/Comics/xkcd Directory Exists is not defined status = Content = Permanent link not found sitePrefix - https://xkcd.com/ $d - [] Download Complete

Replies are listed 'Best First'.
Re^4: LWP::Simple on HTTPS sites
by poj (Abbot) on Feb 10, 2017 at 11:21 UTC

    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
      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