Date: Sat, 30 Aug 2008 14:39:06 +0000 (UTC) From: Chin-San Huang <chinsan@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel Makefile ports/devel/p5-Tie-RefHash-Weak Makefile distinfo pkg-descr pkg-plist Message-ID: <200808301439.m7UEd6pN046683@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
chinsan 2008-08-30 14:39:06 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-Tie-RefHash-Weak Makefile distinfo pkg-descr pkg-plist Log: 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/ Revision Changes Path 1.3178 +1 -0 ports/devel/Makefile 1.1 +26 -0 ports/devel/p5-Tie-RefHash-Weak/Makefile (new) 1.1 +3 -0 ports/devel/p5-Tie-RefHash-Weak/distinfo (new) 1.1 +13 -0 ports/devel/p5-Tie-RefHash-Weak/pkg-descr (new) 1.1 +7 -0 ports/devel/p5-Tie-RefHash-Weak/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808301439.m7UEd6pN046683>