summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-08-10 14:15:29 +0000
committerabs <abs@pkgsrc.org>2006-08-10 14:15:29 +0000
commit412c348436a4522f84a8f978b58a7b577a1812f9 (patch)
tree2c887a304afe6d7b59fc544ea152e6cb52156454 /devel
parent5c6eeb2dae85cbb9ee29b5032899f0ef125fe619 (diff)
downloadpkgsrc-412c348436a4522f84a8f978b58a7b577a1812f9.tar.gz
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".
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Data-Dump/DESCR12
-rw-r--r--devel/p5-Data-Dump/Makefile19
-rw-r--r--devel/p5-Data-Dump/PLIST1
-rw-r--r--devel/p5-Data-Dump/distinfo5
4 files changed, 37 insertions, 0 deletions
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