ports/71508: [NEW PORT] devel/p5-Data-Dumper-Simple: Easily dump variables with names
Cheng-Lung Sung
clsung at tw.freebsd.org
Thu Sep 9 04:10:26 UTC 2004
>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 at FreeBSD.org
XCOMMENT= Easily dump variables with names
X
XPERL_CONFIGURE= yes
X
XMAN3= Data::Dumper::Simple.3
X
X.include <bsd.port.pre.mk>
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 <bsd.port.post.mk>
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 at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Simple
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Data/Dumper 2>/dev/null || true
X at 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:
More information about the freebsd-ports-bugs
mailing list