Download a Web Page with Perl

This is a simple Perl script to download a Web page and display the downloaded text on the screen.
use LWP::Simple;
$URL=http://www.google.com;
$contents = get($URL);
print $contents;

Leave a comment