i have written several perl scripts, but mainly simple ones that operate on local files.
I want to create a perl script to read a webpage, process the page, and create an output file.
Specifically, I want to write a script to open parse the file and retrieve the headlines, create an output file, e-mail the output file. (I find the funniest part of the website is just the headlines).
Can anyone please post some sample code on how to open an html file and process?
thanks in advance.
I want to create a perl script to read a webpage, process the page, and create an output file.
Specifically, I want to write a script to open parse the file and retrieve the headlines, create an output file, e-mail the output file. (I find the funniest part of the website is just the headlines).
Can anyone please post some sample code on how to open an html file and process?
thanks in advance.