Hey, I just had a thought...with the new "weak" references in perl 5.6,
it should be possible to make the _parent reference in HTML::Element
nodes weak, right? So your element trees will be garbage collected once
they go out of scope. No delete() necessary.

Matt

Reply via email to