use LWP::Simple; my $html = get 'http://www.perl.com/pub/a/2000/12/begperl4.html';