freebsd-ports/devel/p5-Tie-RefHash-Weak/pkg-plist
Chin-San Huang 0eeeca4c46 Add p5-Tie-RefHash-Weak, a Tie::RefHash subclass with weakened references in
the keys.

The Tie::RefHash module 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. Tie::RefHash's
internal structures 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.

WWW: http://search.cpan.org/dist/Tie-RefHash-Weak/
2008-08-30 14:39:06 +00:00

8 lines
320 B
Plaintext

%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/RefHash/Weak/.packlist
%%SITE_PERL%%/Tie/RefHash/Weak.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/RefHash/Weak
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/RefHash
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie
@dirrmtry %%SITE_PERL%%/Tie/RefHash
@dirrmtry %%SITE_PERL%%/Tie