Alex Goor wrote:
> I was hoping to write a simple program (if that's possible) to open a
> browser, go to a site, and scrape a piece of information from that
> site.
> 
> For example, I was hoping to open a Safari of Firefox browser, go to
> nyt.com and scrape the Dow Jones Industrial Average which is on the
> homepage.
> 
> Does anyone know where I could get an example program that does this
> kind of thing to teach myself the concepts?

Driving an actual Web browser is awkward and unnecessary unless the page you 
want cannot be handled with a Perl module.

Take a look at WWW::Mechanize and see if it suits your purpose.

Rob

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to