Try LWP::Simple use LWP::Simple;
$content = get("http://yahoo.com"); print "Content-type: text/html\n\n"; print $content; Or use HTML::Parser or HTML::TokeParser To get only specific thing from $content. Very smooth once you do it a bit. > -----Original Message----- > From: dan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 19, 2003 1:38 PM > To: [EMAIL PROTECTED] > Subject: Getting HTML files from remote sites > > > What's a good module to retrieve HTML content from another > website? I can't see any obvious names on CPAN, maybe I > overlooked something. What I want to do is to retrieve a HTML > file off another server, and in my script, look for various > pointers in the code to output it to console. I've done this > in another language, but I'm wanting to write one in perl as > well for use on web pages. > > Thanks in advance. > > Dan > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]