Skip Menu |
 

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

Report information
The Basics
Id: 12283
Status: rejected
Priority: 0/
Queue: HTML-Tree

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

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



Subject: Use weaken to avoid ->delete()?
Download (untitled) / with headers
text/plain 166b
I think the necessity to cleanup a HTML tree with ->delete() could be discarded if weak references are used, e.g. by using Scalar::Util::weaken. Regards, Slaven
Download (untitled) / with headers
text/plain 411b
Several distributions are being distributed without weaken support - Red Hat, for example, installs the pure-perl Scalar::Util which doesn't have weaken. Since I'm loathe to force another dependency on distributions (and distribution maintainers), I'm marking this bug as REJECTED as I'm not willing to implement weaken support. Look at Task::Weaken for more information about my rationale behind this choice.


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

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