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.

Tie::RefHash::Weak 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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtie-refhash-weak-perl