summaryrefslogtreecommitdiff
path: root/dist/Data-Dumper
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Data-Dumper')
-rw-r--r--dist/Data-Dumper/Dumper.pm4
-rw-r--r--dist/Data-Dumper/Dumper.xs4
2 files changed, 4 insertions, 4 deletions
diff --git a/dist/Data-Dumper/Dumper.pm b/dist/Data-Dumper/Dumper.pm
index 9335d034c1..883572178f 100644
--- a/dist/Data-Dumper/Dumper.pm
+++ b/dist/Data-Dumper/Dumper.pm
@@ -9,7 +9,7 @@
package Data::Dumper;
-$VERSION = '2.133'; # Don't forget to set version and release date in POD!
+$VERSION = '2.134'; # Don't forget to set version and release date in POD!
#$| = 1;
@@ -1297,7 +1297,7 @@ modify it under the same terms as Perl itself.
=head1 VERSION
-Version 2.133 (July 20 2011)
+Version 2.134 (September 7 2011)
=head1 SEE ALSO
diff --git a/dist/Data-Dumper/Dumper.xs b/dist/Data-Dumper/Dumper.xs
index cf0717e435..c8e96cda74 100644
--- a/dist/Data-Dumper/Dumper.xs
+++ b/dist/Data-Dumper/Dumper.xs
@@ -703,11 +703,11 @@ DD_dump(pTHX_ SV *val, const char *name, STRLEN namelen, SV *retval, HV *seenhv,
if (sortkeys) {
char *key;
svp = av_fetch(keys, i, FALSE);
- keysv = svp ? *svp : sv_mortalcopy(&PL_sv_undef);
+ keysv = svp ? *svp : sv_newmortal();
key = SvPV(keysv, keylen);
svp = hv_fetch((HV*)ival, key,
SvUTF8(keysv) ? -(I32)keylen : (I32)keylen, 0);
- hval = svp ? *svp : sv_mortalcopy(&PL_sv_undef);
+ hval = svp ? *svp : sv_newmortal();
}
else {
keysv = hv_iterkeysv(entry);