Hi, I have simple q for you. How do u use HTML::PARSER to extract some information. I have made a search using WWW::Search and received a list of URLs.Meaning, the following are extraction from my codes: 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); 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, --- [EMAIL PROTECTED] wrote: > Does anybody have the hstrip example mentioned in > the HTML::Parser > documenation that shows you how to stip out specific > tags from an HTML > file. > > I can't find the example, maybe I'm missing > something really obvious. > Thanks > Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]