HISTORY - public release history for Data::Dumper
Implement $Data::Dumper::Bless, suggested by Mark Daku <daku@nortel.ca>.
Minor release to fix Makefile.PL not accepting MakeMaker args.
Glob dumps don't output superflous 'undef' anymore.
Fixes from Gisle Aas <gisle@aas.no> to make Dumper() work with overloaded strings in recent perls, and his new testsuite.
require 5.004.
A separate flag to always quote hash keys (on by default).
Recreating known CODE refs is now better supported.
Changed flawed constant SCALAR bless workaround.
Dumpxs output is now exactly the same as Dump. It still doesn't honor Useqq though.
Useqq
Regression tests test for identical output and eval-ability.
eval
Bug in *GLOB{THING} output fixed.
Other small enhancements.
Bugfix that was serious enough for new release--the bug cripples MLDBM. Problem was "Attempt to modify readonly value..." failures that stemmed for a misguided SvPV_force() instead of a SvPV().)
Fixed the type mismatch that was causing Dumpxs test to fail on 64-bit platforms.
GLOB elements are dumped now when Purity is set (using the *GLOB{THING} syntax).
Purity
The Freezer option can be set to a method name to call before probing objects for dumping. Some applications: objects with external data, can re-bless themselves into a transitional package; Objects the maintain ephemeral state (like open files) can put additional information in the object to facilitate persistence.
Freezer
The corresponding Toaster option, if set, specifies the method call that will revive the frozen object.
Toaster
The Deepcopy flag has been added to do just that.
Deepcopy
Dumper does more aggressive cataloging of SCALARs encountered within ARRAY/HASH structures. Thanks to Norman Gaywood <norm@godel.une.edu.au> for reporting the problem.
Objects that overload the '""' operator are now handled properly by the Dump method.
overload
Dump
Significant additions to the testsuite.
More documentation.
Made dump of glob names respect Useqq setting.
[@$%] are now escaped now when in double quotes.
Fixed Dumpxs. It was appending trailing nulls to globnames. (reported by Randal Schwartz <merlyn@teleport.com>).
Calling the Indent() method on a dumper object now correctly resets the internal separator (reported by Curt Tilmes <curt@ltpmail.gsfc.nasa.gov>).
Indent()
New Terse option to suppress the 'VARn = ' prefix introduced. If the option is set, they are output only when absolutely essential.
Terse
VARn =
The Useqq flag is supported (but not by the XSUB version yet).
Embedded nulls in keys are now handled properly by Dumpxs.
Dumper.xs now use various integer types in perl.h (should make it compile without noises on 64 bit platforms, although I haven't been able to test this).
All the dump methods now return a list of strings in a list context.
Non portable sprintf usage in XS code fixed (thanks to Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>).
Minor bugfix (single digit numbers were always getting quoted).
Dumpxs is now the exact XSUB equivalent of Dump. The XS version is 4-5 times faster.
Dumpxs
require 5.002.
require 5.002
MLDBM example removed (as its own module, it has a separate CPAN reality now).
Fixed bugs in handling keys with wierd characters. Perl can be tripped up in its implicit quoting of the word before '=>'. The fix: Data::Dumper::Purity, when set, always triggers quotes around hash keys.
Data::Dumper::Purity
Andreas Koenig <k@anna.in-berlin.de> pointed out that handling octals is busted. His patch added.
Dead code removed, other minor documentation fixes.
MLDBM example added.
Several folks pointed out that quoting of ticks and backslashes in strings is missing. Added.
Ian Phillips <ian@pipex.net> pointed out that numerics may lose precision without quotes. Fixed.
Last stable version I can remember.
To install lib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm lib
CPAN shell
perl -MCPAN -e shell install lib
For more information on module installation, please visit the detailed CPAN module installation guide.