Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: opening html files

by davidrw (Prior)
on Jan 14, 2008 at 04:21 UTC ( #662255=note: print w/replies, xml ) Need Help??


in reply to opening html files

LWP::Simple is what you're looking for
use LWP::Simple; my $html = get 'http://www.perl.com/pub/a/2000/12/begperl4.html';
(for other things, WWW::Mechanize is a wonderful tool as well)

Here's LWP::Simple thread from the PM Tutorials: Getting more out of LWP::Simple