Wednesday, November 23, 2022

Downloading and storing the source code of a web page in a file using lwp and perl

 use strict;
use warnings;
use LWP::Simple;
sub main{
print "Downloading ... \n";
#print get("http://www.google.com/");
getstore("http://www.google.com","./source.code.html");

print "Finished\n";
}
main();

No comments:

Post a Comment