From owner-cvs-all@FreeBSD.ORG Sat Aug 30 14:39:06 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BCCD1065672; Sat, 30 Aug 2008 14:39:06 +0000 (UTC) (envelope-from chinsan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 38AF08FC12; Sat, 30 Aug 2008 14:39:06 +0000 (UTC) (envelope-from chinsan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7UEd6Iv046684; Sat, 30 Aug 2008 14:39:06 GMT (envelope-from chinsan@repoman.freebsd.org) Received: (from chinsan@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7UEd6pN046683; Sat, 30 Aug 2008 14:39:06 GMT (envelope-from chinsan) Message-Id: <200808301439.m7UEd6pN046683@repoman.freebsd.org> From: Chin-San Huang Date: Sat, 30 Aug 2008 14:39:06 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/p5-Tie-RefHash-Weak Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2008 14:39:06 -0000 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)