Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Read web page Databy thinker (Parson) |
on Jul 20, 2003 at 08:26 UTC ( [id://276009]=note: print w/replies, xml ) | Need Help?? |
Hi AM, When you ask for yahoo.com, what you will get is the default page for that site, maybe index.html, or index.cgi, or whatever. It doesn't really matter what it is called, it is just an html page. In which case, simply change $file = "/path/to/savefile.txt" to $file = "/path/to/savefile.html" Of course, hardcoding the filename in there is of limited use, unless you want to rename the file after each run of the program I hope this is what you were asking :-) cheers thinker
In Section
Seekers of Perl Wisdom
|
|