From 412c348436a4522f84a8f978b58a7b577a1812f9 Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 10 Aug 2006 14:15:29 +0000 Subject: Import devel/Data-Dump-1.06 This module provides a single function called dump() that takes a list of values as its argument and produces a string as its result. The string contains Perl code that, when evaled, produces a deep copy of the original arguments. The string is formatted for easy reading. If dump() is called in a void context, then the dump is printed on STDERR instead of being returned. If you don't like importing a function that overrides Perl's not-so-useful builtin, then you can also import the same function as pp(), mnemonic for "pretty-print". --- devel/p5-Data-Dump/DESCR | 12 ++++++++++++ devel/p5-Data-Dump/Makefile | 19 +++++++++++++++++++ devel/p5-Data-Dump/PLIST | 1 + devel/p5-Data-Dump/distinfo | 5 +++++ 4 files changed, 37 insertions(+) create mode 100644 devel/p5-Data-Dump/DESCR create mode 100644 devel/p5-Data-Dump/Makefile create mode 100644 devel/p5-Data-Dump/PLIST create mode 100644 devel/p5-Data-Dump/distinfo (limited to 'devel') diff --git a/devel/p5-Data-Dump/DESCR b/devel/p5-Data-Dump/DESCR new file mode 100644 index 00000000000..72b285ef5cd --- /dev/null +++ b/devel/p5-Data-Dump/DESCR @@ -0,0 +1,12 @@ +This module provides a single function called dump() that takes a +list of values as its argument and produces a string as its result. +The string contains Perl code that, when evaled, produces a deep +copy of the original arguments. The string is formatted for easy +reading. + +If dump() is called in a void context, then the dump is printed on +STDERR instead of being returned. + +If you don't like importing a function that overrides Perl's +not-so-useful builtin, then you can also import the same function +as pp(), mnemonic for "pretty-print". diff --git a/devel/p5-Data-Dump/Makefile b/devel/p5-Data-Dump/Makefile new file mode 100644 index 00000000000..45d8288e23f --- /dev/null +++ b/devel/p5-Data-Dump/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/08/10 14:15:29 abs Exp $ +# + +DISTNAME= Data-Dump-1.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/} + +MAINTAINER= abs@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Data-Dump/ +COMMENT= Pretty printing of data structures + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Data/Dump/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Data-Dump/PLIST b/devel/p5-Data-Dump/PLIST new file mode 100644 index 00000000000..8e07ac48a46 --- /dev/null +++ b/devel/p5-Data-Dump/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/10 14:15:29 abs Exp $ diff --git a/devel/p5-Data-Dump/distinfo b/devel/p5-Data-Dump/distinfo new file mode 100644 index 00000000000..86f562db8c5 --- /dev/null +++ b/devel/p5-Data-Dump/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/08/10 14:15:29 abs Exp $ + +SHA1 (Data-Dump-1.06.tar.gz) = 61f49e90d69d4f2da8dc2f8ec6f224c1da45d136 +RMD160 (Data-Dump-1.06.tar.gz) = a681f923f1e5331ee9930ad5dbdc60b81c8e54b1 +Size (Data-Dump-1.06.tar.gz) = 9816 bytes -- cgit v1.2.3