# 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