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".
This commit is contained in:
abs 2006-08-10 14:16:21 +00:00
parent 0adf0831e3
commit 57dc91147c

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2006,v 1.996 2006/08/10 13:51:24 wiz Exp $
$NetBSD: CHANGES-2006,v 1.997 2006/08/10 14:16:21 abs Exp $
Changes to the packages collection and infrastructure in 2006:
@ -3900,3 +3900,4 @@ Changes to the packages collection and infrastructure in 2006:
Updated textproc/xerces-c to 2.7.0 [abs 2006-08-09]
Updated textproc/p5-XML-Xerces to 2.7.0-0 [abs 2006-08-09]
Updated graphics/cairo to 1.2.2 [wiz 2006-08-10]
Added devel/Data-Dump version 1.06 [abs 2006-08-09]