Parsing HTML using TreeBuilderby monsterzero (Monk)
|on Oct 28, 2003 at 18:49 UTC||Need Help??|
monsterzero has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to use HTML::TreeBuilder to parse some HTML data I have retrieved from the web. Specifily, I would like to extract the sunrise/sunset data from the web page. Below is what I have tried. The attribute I am looking for is everything between the pre tags, However I am afraid I do not understand what is being displayed when I print the all_attr method :(
Can anyone shead some light on this?
Edit by tye, replace PRE with P tags