in reply to 3Re: How do you scan HTML?
in thread How do you scan HTML?
jeffa wrote: but I do wonder how Ovid would have solved it.
Ovid replies:
#!/usr/bin/perl -w use strict; use WWW::Mechanize; my $browser = WWW::Mechanize->new(); $browser->get('http://www.chessgames.com'); $browser->follow_link( url_regex => qr/chessgame\?gid=\d+/ ); $browser->follow_link( text => 'view text' ); print $browser->content;
I think that's a wee bit easier to follow :)
Cheers,
Ovid
New address of my CGI Course.
|
|---|