Package: wnpp
Owner: Damyan Ivanov <d...@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org,debian-p...@lists.debian.org

* Package name    : libtie-refhash-weak-perl
  Version         : 0.09
  Upstream Author : Yuval Kogman <nothingm...@woobling.org>
* URL             : http://search.cpan.org/dist/Tie-RefHash-Weak/
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Tie::RefHash subclass with weakened references in the keys

Tie::RefHash can be used to access hashes by reference. This is useful when
you index by object, for example.

The problem with Tie::RefHash, and cross indexing, is that sometimes the
index should not contain strong references to the objecs. The internal
structures of Tie::RefHash contain strong references to the key, and provide
no convenient means to make those references weak.

This subclass of Tie::RefHash has weak keys, instead of strong ones. The
values are left unaltered, and you'll have to make sure there are no strong
references there yourself.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pte80-00015a...@pc1.creditreform.bg

Reply via email to