At 12:14 PM 2/7/02 +1030, Daniel Falkenberg wrote: >I am currently working with the perl CPAN module HTML::TreeBuilder. Is >someone able to explain to me if this is the module I want to use to >extract data from a HTML page. Now this HTML page is contained outside of >my perl-cgi script. From what I can gather the module will download the >page of my choice and from there I can extract the data I want from it?
HTML::TreeBuilder won't download a page, you need something like LWP::Simple or LWP::UserAgent to do that. HTML::TreeBuilder (isa HTML::Parser) builds a tree (wottaconcept) of HTML::Elements when you feed it HTML. The code I posted in the "to know about new computer h\w" thread yesterday ago contained an example :-) -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]