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

Report information
The Basics
Id:
16589
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ZACKSE [...] cpan.org
Cc:
AdminCc:

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

Attachments


Subject: Minor typo in documentation for TreeBuilder
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.
diff -ur HTML-Tree-3.19_03.orig/lib/HTML/TreeBuilder.pm HTML-Tree-3.19_03/lib/HTML/TreeBuilder.pm --- HTML-Tree-3.19_03.orig/lib/HTML/TreeBuilder.pm 2005-11-25 22:55:52.000000000 -0500 +++ HTML-Tree-3.19_03/lib/HTML/TreeBuilder.pm 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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.