Skip Menu |

This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id: 16589
Status: resolved
Priority: 0/
Queue: HTML-Tree

Owner: Nobody in particular
Requestors: ZACKSE [...]

Bug Information
Severity: Unimportant
Broken in: 3.19_03
Fixed in: (no value)


Subject: Minor typo in documentation for TreeBuilder
Download (untitled) / with headers
text/plain 279b
There is a minor typo in the documentation for HTML::TreeBuilder in the section describing the guts() method. Attached is a patch to fix the typo ("@notes" should be "@nodes"). Thanks for your work on this distribution, it has proven quite useful for several different projects.
Download html-tree.patch
text/x-diff 638b
diff -ur HTML-Tree-3.19_03.orig/lib/HTML/ HTML-Tree-3.19_03/lib/HTML/ --- HTML-Tree-3.19_03.orig/lib/HTML/ 2005-11-25 22:55:52.000000000 -0500 +++ HTML-Tree-3.19_03/lib/HTML/ 2005-12-18 21:02:20.662106888 -0500 @@ -1599,7 +1599,7 @@ <li>I like pie! Then you would get that with C<< @nodes = $root->guts(); >>. -It so happens that in this case, @notes will contain just one +It so happens that in this case, @nodes will contain just one element object, representing the "li" node (with "I like pie!" being its text child node). However, consider if you were parsing this:
Thanks. Fixed in Subversion. Will be in the next release.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to