Move variable declaration to where it's used
[p5sagit/p5-mst-13.2.git] / ext / Data-Dumper / Changes
CommitLineData
823edd99 1=head1 NAME
2
3HISTORY - public release history for Data::Dumper
4
5=head1 DESCRIPTION
6
7=over 8
8
20fc1041 9=item 2.124 (Jun 13 2009)
10
11Add three missing test files.
12
cc650b8b 13=item 2.123 (Jun 11 2009)
14
15Re-add the INSTALLDIRS => 'perl' directive to Makefile.PL
16of the CPAN release.
17
f6085ff7 18=item 2.122 (Jun 9 2009)
19
20Promote previous developer release to stable release.
21
04fe7e43 22=item 2.121_20 (Jun 6 2009)
23
cc650b8b 24A host of bug fixes and improvements that have
04fe7e43 25accumulated in the perl core
26
cc650b8b 27Updated backport to 5.6.1 by Steffen Mueller <smueller@cpan.org>.
04fe7e43 28
fec5e1eb 29=item 2.121 (Aug 24 2003)
30
31Backport to 5.6.1 by Ilya Martynov <ilya@martynov.org>.
32
a2126434 33=item 2.11 (unreleased)
34
35C<0> is now dumped as such, not as C<'0'>.
36
37qr// objects are now dumped correctly (provided a post-5.005_58)
38overload.pm exists).
39
40Implemented $Data::Dumper::Maxdepth, which was on the Todo list.
41Thanks to John Nolan <jpnolan@Op.Net>.
42
43=item 2.101 (30 Apr 1999)
44
45Minor release to sync with version in 5.005_03. Fixes dump of
46dummy coderefs.
47
7820172a 48=item 2.10 (31 Oct 1998)
49
50Bugfixes for dumping related undef values, globs, and better double
51quoting: three patches suggested by Gisle Aas <gisle@aas.no>.
52
53Escaping of single quotes in the XS version could get tripped up
54by the presence of nulls in the string. Fix suggested by
55Slaven Rezic <eserte@cs.tu-berlin.de>.
56
57Rather large scale reworking of the logic in how seen values
58are stashed. Anonymous scalars that may be encountered while
59traversing the structure are properly tracked, in case they become
60used in data dumped in a later pass. There used to be a problem
61with the previous logic that prevented such structures from being
62dumped correctly.
63
64Various additions to the testsuite.
65
823edd99 66=item 2.09 (9 July 1998)
67
68Implement $Data::Dumper::Bless, suggested by Mark Daku <daku@nortel.ca>.
69
70=item 2.081 (15 January 1998)
71
72Minor release to fix Makefile.PL not accepting MakeMaker args.
73
74=item 2.08 (7 December 1997)
75
76Glob dumps don't output superflous 'undef' anymore.
77
78Fixes from Gisle Aas <gisle@aas.no> to make Dumper() work with
79overloaded strings in recent perls, and his new testsuite.
80
81require 5.004.
82
83A separate flag to always quote hash keys (on by default).
84
85Recreating known CODE refs is now better supported.
86
87Changed flawed constant SCALAR bless workaround.
88
89=item 2.07 (7 December 1996)
90
91Dumpxs output is now exactly the same as Dump. It still doesn't
92honor C<Useqq> though.
93
94Regression tests test for identical output and C<eval>-ability.
95
96Bug in *GLOB{THING} output fixed.
97
98Other small enhancements.
99
100=item 2.06 (2 December 1996)
101
102Bugfix that was serious enough for new release--the bug cripples
103MLDBM. Problem was "Attempt to modify readonly value..." failures
104that stemmed for a misguided SvPV_force() instead of a SvPV().)
105
106=item 2.05 (2 December 1996)
107
108Fixed the type mismatch that was causing Dumpxs test to fail
109on 64-bit platforms.
110
111GLOB elements are dumped now when C<Purity> is set (using the
112*GLOB{THING} syntax).
113
114The C<Freezer> option can be set to a method name to call
115before probing objects for dumping. Some applications: objects with
116external data, can re-bless themselves into a transitional package;
117Objects the maintain ephemeral state (like open files) can put
118additional information in the object to facilitate persistence.
119
120The corresponding C<Toaster> option, if set, specifies
121the method call that will revive the frozen object.
122
123The C<Deepcopy> flag has been added to do just that.
124
125Dumper does more aggressive cataloging of SCALARs encountered
126within ARRAY/HASH structures. Thanks to Norman Gaywood
127<norm@godel.une.edu.au> for reporting the problem.
128
129Objects that C<overload> the '""' operator are now handled
130properly by the C<Dump> method.
131
132Significant additions to the testsuite.
133
134More documentation.
135
136=item 2.04beta (28 August 1996)
137
138Made dump of glob names respect C<Useqq> setting.
139
140[@$%] are now escaped now when in double quotes.
141
142=item 2.03beta (26 August 1996)
143
144Fixed Dumpxs. It was appending trailing nulls to globnames.
145(reported by Randal Schwartz <merlyn@teleport.com>).
146
147Calling the C<Indent()> method on a dumper object now correctly
148resets the internal separator (reported by Curt Tilmes
149<curt@ltpmail.gsfc.nasa.gov>).
150
151New C<Terse> option to suppress the 'C<VARI<n> = >' prefix
152introduced. If the option is set, they are output only when
153absolutely essential.
154
155The C<Useqq> flag is supported (but not by the XSUB version
156yet).
157
158Embedded nulls in keys are now handled properly by Dumpxs.
159
160Dumper.xs now use various integer types in perl.h (should
161make it compile without noises on 64 bit platforms, although
162I haven't been able to test this).
163
164All the dump methods now return a list of strings in a list
165context.
166
167
168=item 2.02beta (13 April 1996)
169
170Non portable sprintf usage in XS code fixed (thanks to
171Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>).
172
173
174=item 2.01beta (10 April 1996)
175
176Minor bugfix (single digit numbers were always getting quoted).
177
178
179=item 2.00beta (9 April 1996)
180
181C<Dumpxs> is now the exact XSUB equivalent of C<Dump>. The XS version
182is 4-5 times faster.
183
184C<require 5.002>.
185
186MLDBM example removed (as its own module, it has a separate CPAN
187reality now).
188
189Fixed bugs in handling keys with wierd characters. Perl can be
190tripped up in its implicit quoting of the word before '=>'. The
191fix: C<Data::Dumper::Purity>, when set, always triggers quotes
192around hash keys.
193
194Andreas Koenig <k@anna.in-berlin.de> pointed out that handling octals
195is busted. His patch added.
196
197Dead code removed, other minor documentation fixes.
198
199
200=item 1.23 (3 Dec 1995)
201
202MLDBM example added.
203
204Several folks pointed out that quoting of ticks and backslashes
205in strings is missing. Added.
206
7e6e257f 207Ian Phillipps <ian@pipex.net> pointed out that numerics may lose
823edd99 208precision without quotes. Fixed.
209
210
211=item 1.21 (20 Nov 1995)
212
213Last stable version I can remember.
214
215=back
216
217=cut