I get the following error: 501 protocol scheme 'https' is not supported. along with the url that i requested printed to the screen. Any suggestions? Thanks#!/usr/bin/perl use strict; use warnings; use LWP::Simple; checkit(); sub checkit { my $url = 'https://url.that.i.want'; my $content = get($url); my @data = split (/\n/, $content); foreach my $line (@data) { print "$line"; } }
In reply to Proper way to fetch html from a https site with PERL by tollieman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |