Upstream changes:
2010-06-12 - Release 1.17 - Gisle Aas <gisle@ActiveState.com>
Fix dump of "1\n" (the newline was lost) [RT#56595]
Start using the range operator to shorten list dumps.
For instance dump(1,2,3,4,5) now returns '(1 .. 5)'.
CODE references now dumped as 'sub { ... }'.
Potetential compatibility issue as perl-5.12 or better
to eval such strings.
Fix how multiline hash values are indented.
Make indentation configurable
Improved documentation
2010-06-09 - Release 1.16 - Gisle Aas <gisle@ActiveState.com>
Add support for filter callbacks
- filters can modify how selected objects are dumped
Various enhancements to how/when hash keys are quoted
- don't quote keywords
- don't quote words prefixed with "-"
- don't quote long identifier keys
- quote all hash keys if one needs quoting for better alignment
Use case-insensitive sorting for hash keys
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes:
- The package supports installation to DESTDIR.
Changes since version 1.06:
=====================================
2006-11-29 Gisle Aas <gisle@ActiveState.com>
Release 1.08
By popular demand; don't put underscore into dumped integers
to group thousands.
2006-11-24 Gisle Aas <gisle@ActiveState.com>
Release 1.07
Remove unused code.
Add some more tests.
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".