From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 9 04:10:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA0716A4CE for ; Thu, 9 Sep 2004 04:10:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F24B43D53 for ; Thu, 9 Sep 2004 04:10:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i894AQGf005524 for ; Thu, 9 Sep 2004 04:10:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i894AQGf005523; Thu, 9 Sep 2004 04:10:26 GMT (envelope-from gnats) Resent-Date: Thu, 9 Sep 2004 04:10:26 GMT Resent-Message-Id: <200409090410.i894AQGf005523@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cheng-Lung Sung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8782916A4CE for ; Thu, 9 Sep 2004 04:06:25 +0000 (GMT) Received: from FreeBSD.csie.NCTU.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEBE543D5A for ; Thu, 9 Sep 2004 04:06:24 +0000 (GMT) (envelope-from clsung@FreeBSD.csie.NCTU.edu.tw) Received: from localhost (localhost.csie.nctu.edu.tw [127.0.0.1]) by FreeBSD.csie.NCTU.edu.tw (Postfix) with ESMTP id E2141106C4B for ; Thu, 9 Sep 2004 12:06:18 +0800 (CST) Received: from FreeBSD.csie.NCTU.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.NCTU.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67693-03 for ; Thu, 9 Sep 2004 12:06:17 +0800 (CST) Received: by FreeBSD.csie.NCTU.edu.tw (Postfix, from userid 1038) id 15309106C20; Thu, 9 Sep 2004 12:06:17 +0800 (CST) Message-Id: <20040909040617.15309106C20@FreeBSD.csie.NCTU.edu.tw> Date: Thu, 9 Sep 2004 12:06:17 +0800 (CST) From: Cheng-Lung Sung To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71508: [NEW PORT] devel/p5-Data-Dumper-Simple: Easily dump variables with names X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 04:10:26 -0000 >Number: 71508 >Category: ports >Synopsis: [NEW PORT] devel/p5-Data-Dumper-Simple: Easily dump variables with names >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 09 04:10:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.10-STABLE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004 >Description: This module allow the user to dump variables in a Data::Dumper format. Unlike the default behavior of Data::Dumper, the variables are named (instead of $VAR1, $VAR2, etc.) Data::Dumper provides an extended interface that allows the programmer to name the variables, but this interface requires a lot of typing and is prone to tyops (sic). This module fixes that. Data::Dumper::Simple is actually a source filter that replaces all instances of Dumper($some, @args) in your code with a call to Data::Dumper->Dump(). You can use the one function provided to make dumping variables for debugging a trivial task. Note that this is primarily a debugging tool. Data::Dumper offers a bit more than that, so don't expect this module to be more than it is. WWW: http://search.cpan.org/dist/Data-Dumper-Simple/ Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Data-Dumper-Simple-0.06.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Data-Dumper-Simple # p5-Data-Dumper-Simple/distinfo # p5-Data-Dumper-Simple/Makefile # p5-Data-Dumper-Simple/pkg-descr # p5-Data-Dumper-Simple/pkg-plist # echo c - p5-Data-Dumper-Simple mkdir -p p5-Data-Dumper-Simple > /dev/null 2>&1 echo x - p5-Data-Dumper-Simple/distinfo sed 's/^X//' >p5-Data-Dumper-Simple/distinfo << 'END-of-p5-Data-Dumper-Simple/distinfo' XMD5 (Data-Dumper-Simple-0.06.tar.gz) = cb2ab608bdbe289ad6db4baf4fa84ae7 XSIZE (Data-Dumper-Simple-0.06.tar.gz) = 6356 END-of-p5-Data-Dumper-Simple/distinfo echo x - p5-Data-Dumper-Simple/Makefile sed 's/^X//' >p5-Data-Dumper-Simple/Makefile << 'END-of-p5-Data-Dumper-Simple/Makefile' X# New ports collection makefile for: p5-Data-Dumper-Simple X# Date created: Sep 9 2004 X# Whom: clsung X# X# $FreeBSD$ X# X XPORTNAME= Data-Dumper-Simple XPORTVERSION= 0.06 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Data XPKGNAMEPREFIX= p5- X XMAINTAINER= clsung@FreeBSD.org XCOMMENT= Easily dump variables with names X XPERL_CONFIGURE= yes X XMAN3= Data::Dumper::Simple.3 X X.include X X.if ${PERL_LEVEL} < 500805 XBUILD_DEPENDS+= ${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple XRUN_DEPENDS+= ${BUILD_DEPENDS} X.endif X.if ${PERL_LEVEL} < 500601 XIGNORE="Need at least perl 5.6.1 to build" X.endif X X.include END-of-p5-Data-Dumper-Simple/Makefile echo x - p5-Data-Dumper-Simple/pkg-descr sed 's/^X//' >p5-Data-Dumper-Simple/pkg-descr << 'END-of-p5-Data-Dumper-Simple/pkg-descr' XThis module allow the user to dump variables in a Data::Dumper format. X XUnlike the default behavior of Data::Dumper, the variables are named X(instead of $VAR1, $VAR2, etc.) Data::Dumper provides an extended Xinterface that allows the programmer to name the variables, but this Xinterface requires a lot of typing and is prone to tyops (sic). This Xmodule fixes that. X XData::Dumper::Simple is actually a source filter that replaces all Xinstances of Dumper($some, @args) in your code with a call to XData::Dumper->Dump(). You can use the one function provided to make Xdumping variables for debugging a trivial task. X XNote that this is primarily a debugging tool. Data::Dumper offers a Xbit more than that, so don't expect this module to be more than it is. X XWWW: http://search.cpan.org/dist/Data-Dumper-Simple/ END-of-p5-Data-Dumper-Simple/pkg-descr echo x - p5-Data-Dumper-Simple/pkg-plist sed 's/^X//' >p5-Data-Dumper-Simple/pkg-plist << 'END-of-p5-Data-Dumper-Simple/pkg-plist' X%%SITE_PERL%%/Data/Dumper/Simple.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Simple/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Simple X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Data/Dumper 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true END-of-p5-Data-Dumper-Simple/pkg-plist exit --- p5-Data-Dumper-Simple-0.06.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: