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.
[only used for perl-JE with openSUSE = 10.3]
- Sources inherited from project openSUSE:Backports:SLE-15-SP5
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.5:Update/perl-Tie-RefHash-Weak && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Tie-RefHash-Weak-0.09.tar.gz | 0000007057 6.89 KB | |
perl-Tie-RefHash-Weak.changes | 0000000375 375 Bytes | |
perl-Tie-RefHash-Weak.spec | 0000002404 2.35 KB |
Latest Revision
Yuchen Lin (maxlin_factory)
committed
(revision 2)
branch from SP4 Backports
Comments 0