in reply to LWP::Simple on HTTPS sites

Why the extra bracket ?

my $d = get("($sitePrefix");

poj

Replies are listed 'Best First'.
Re^2: LWP::Simple on HTTPS sites
by rbhyland (Acolyte) on Feb 09, 2017 at 22:06 UTC

    Thanks for pointing that out. It's an error, fixing it doesn't fix my problem, though

      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

        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