On 06/17/2011 06:27 PM, Graham Barr via RT wrote:
Show quoted text> Fri Jun 17 12:27:32 2011: Request 68896 was acted upon.
> Transaction: Ticket created by gbarr@pobox.com
> Queue: HTML-TreeBuilder-XPath
> Subject: use Scalar::Util::weaken
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: gbarr@pobox.com
> Status: new
> Ticket<URL:
http://rt.cpan.org/Ticket/Display.html?id=68896>
>
>
> I have just submitted a patch to HTML::Element to use weak references for the _parent link.
>
>
https://github.com/jfearn/HTML-Tree/issues
>
> I just noticed when fetching that link that someone else posted a patch too :)
>
> Attached is a patch to ::XPath to ensure _parent is a weakref
Thanks,
I'll apply it this weekend and release a new version.
--
mirod