Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How do I use HTML::Parser to visit each urls.I need to extract some lines in each pages. Pls shed some light on this since I really can't figure out this. Thanks for your kind attention p/s: Pls don't ask me to visit the perldoc HTML::Parser or HTML::TreeBuider. I have done that and but I can't understand how to link the results to the HTML::Parser. Rgds,my $search = new WWW::Search ('AltaVista'); $search->maximum_to_retrieve(10); $search->native_query (WWW::Search::escape_query($word)); while ( $results = $search->next_result()) { $n++; print $q->a({href=>$results->url}, $results->url);
Edit kudra, 2001-10-22 Changed title so it doesn't match module name
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Parser
by toma (Vicar) on Oct 22, 2001 at 11:20 UTC | |
|
Re: HTML::Parser
by Anonymous Monk on Oct 22, 2001 at 11:53 UTC | |
by crazyinsomniac (Prior) on Oct 22, 2001 at 13:28 UTC | |
by toma (Vicar) on Oct 22, 2001 at 19:51 UTC |