From owner-cvs-ports@FreeBSD.ORG Fri Nov 21 20:44:48 2008 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF773106567E; Fri, 21 Nov 2008 20:44:48 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C6FD28FC1C; Fri, 21 Nov 2008 20:44:48 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mALKimd3082715; Fri, 21 Nov 2008 20:44:48 GMT (envelope-from miwi@repoman.freebsd.org) Received: (from miwi@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mALKimCs082714; Fri, 21 Nov 2008 20:44:48 GMT (envelope-from miwi) Message-Id: <200811212044.mALKimCs082714@repoman.freebsd.org> From: Martin Wilke Date: Fri, 21 Nov 2008 20:44:48 +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-Sub-Delete Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2008 20:44:48 -0000 miwi 2008-11-21 20:44:48 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-Sub-Delete Makefile distinfo pkg-descr pkg-plist Log: This module provides one function, delete_sub, that deletes the subroutine whose name is passed to it. (To load the module without importing the function, write use Sub::Delete();.) This does more than simply undefine the subroutine in the manner of undef &foo, which leaves a stub that can trigger AUTOLOAD (and, consequently, won't work for deleting methods). The subroutine is completely obliterated from the symbol table (though there may be references to it elsewhere, including in compiled code). WWW: http://search.cpan.org/dist/Sub-Delete/ PR: ports/128899 Submitted by: Gea-Suan Lin Revision Changes Path 1.3261 +1 -0 ports/devel/Makefile 1.1 +24 -0 ports/devel/p5-Sub-Delete/Makefile (new) 1.1 +3 -0 ports/devel/p5-Sub-Delete/distinfo (new) 1.1 +11 -0 ports/devel/p5-Sub-Delete/pkg-descr (new) 1.1 +6 -0 ports/devel/p5-Sub-Delete/pkg-plist (new)