tollieman has asked for the wisdom of the Perl Monks concerning the following question:
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"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Proper way to fetch html from a https site with PERL
by mkmcconn (Chaplain) on Nov 21, 2001 at 09:46 UTC | |
|
Re: Proper way to fetch html from a https site with PERL
by blakem (Monsignor) on Nov 21, 2001 at 09:48 UTC | |
|
Re: Proper way to fetch html from a https site with PERL
by dws (Chancellor) on Nov 21, 2001 at 10:55 UTC | |
|
Re: Proper way to fetch html from a https site with PERL
by kwoff (Friar) on Nov 22, 2001 at 03:16 UTC |