Question:

Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.

Answer:

#!/usr/bin/perl
 
use strict;
 
use warnings;
 
use LWP::Simple;
 
my $siteurl = 'www.perlinterview.com/answers.php';
 
my $savefile = 'content.kml';
 
getstore($siteurl, $savefile);

 


Keywords:

© 2017 QuizBucket.org