Hello again Anonymous Monk,
I think I understand what you mean. I assume you are able to see the output of the page that you want to download but how to store it locally you mean.
There are many ways to do it, sample below:
#!/usr/bin/perl
use strict;
use warnings;
use REST::Client;
#The basic use case
my $client = REST::Client->new();
$client->GET('https://perlmaven.com/');
print $client->responseContent();
__END__
$ perl test.pl > index.html
Further documentation for reference of alternative ways how do i redirect STDOUT, STDIN, or STDERR to a FILE? and https://perlmaven.com/simple-way-to-fetch-many-web-pages.
Let me know if still is not clear. BR / Thanos
Seeking for Perl wisdom...on the process of learning...not there...yet!
|