Package: libhtml-treebuilder-perl Severity: wishlist (This class is part of the HTML::Tree dist.)
This class is for HTML syntax trees that get built out of HTML source. The way to use it is to: 1. start a new (empty) HTML::TreeBuilder object, 2. then use one of the methods from HTML::Parser (presumably with $tree->parse_file($filename) for files, or with $tree->parse($document_content) and $tree->eof if you've got the content in a string) to parse the HTML document into the tree $tree. (You can combine steps 1 and 2 with the "new_from_file" or "new_from_content" methods.) 2b. call $root->elementify() if you want. 3. do whatever you need to do with the syntax tree, presumably involving traversing it looking for some bit of information in it, 4. previous versions of HTML::TreeBuilder required you to call $tree->delete() to erase the contents of the tree from memory when you're done with the tree. This is not normally required anymore. See "Weak References" in HTML::Element for details. https://metacpan.org/pod/HTML::TreeBuilder -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org