Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://662255]
help
Chatterbox?
[Corion]: Oooh - what a nice idea - QoS throttling on AWS, test enviroment runs fast, production also, until it doesn't
[Corion]: But then, you can just pay to make it fast again. Be a shame if it were to slow down, wouldn't it?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-07-26 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (400 votes). Check out past polls.