Skip Menu |

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

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

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

Bug Information
Severity: Normal
Broken in: 3.18
Fixed in: (no value)

Subject: $HTML::Element::VERSION is wrong?
Download (untitled) / with headers
text/plain 927b
I'm not sure how versions are supposed to work in the various submodules in a distribution, but I expect that when a module changes its version should change as well. Therefore I was surprised to find that the look_down() method in HTML::Element behaved differently on two systems, even though both printed $HTML::Element::VERSION as 3.16. It turned out that one system had HTML::Tree 3.17 and the other HTML::Tree 3.18. HTML::Element has changed between them (since the look_down method now handles regexes), so shouldn't its version number change? Can I just say at this point that I hate the fact that references are silently stringified in Perl and you can't even request a warning? It would have been nice to know that the regex tests were being misunderstood by the earlier version and thus were failing. That is of course in no way your fault. Thanks for the nifty modules, and for introducing me to Language Log!
Hi, new maintainer here. I'm going to try to keep the versions in sync.

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

Please report any issues with to