1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Source: libtie-refhash-weak-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: libtask-weaken-perl, libvariable-magic-perl,
perl (>= 5.10.0)
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn@debian.org>
Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Tie-RefHash-Weak/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtie-refhash-weak-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtie-refhash-weak-perl/
Package: libtie-refhash-weak-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}, libtask-weaken-perl,
libvariable-magic-perl, perl (>= 5.10.0)
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.
|