Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure weak references in use in HTML::TreeBuilder? #5
Thanks to weak references, we can forget about HTML::TreeBuilder::delete (HTML::TreeBuilder document). It eliminates the need for XPathFeed::(clean|DESTROY).
This change also stops
By this change, perl without Scalar::Util::weaken will not be able to run XPathFeed. But Scalar::Util::weaken is bundled with perl since 5.8.0, so I believe this change will work in most environments.
(@onishi, what do you think about it?)