use LWP::Simple; my $content = get 'http://www.perl.com/'; # manipulate HTML page in $content # ... print $content;