This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Dumper.xs, use sv_newmortal() instead of sv_mortalcopy(&PL_sv_undef).
authorNicholas Clark <nick@ccl4.org>
Wed, 7 Sep 2011 21:00:10 +0000 (23:00 +0200)
committerNicholas Clark <nick@ccl4.org>
Wed, 7 Sep 2011 21:00:10 +0000 (23:00 +0200)
commit4bbdbd5179acbefcf9f85b21c8e529c8c4881e0e
treec02d4c9c8b50ec818680cf735ca8536fd23dd701
parent666c7ca6f69d448e1829e85a89fae74e72c1a677
In Dumper.xs, use sv_newmortal() instead of sv_mortalcopy(&PL_sv_undef).

The two produce identical results. The former is terser, and far more
efficient.
dist/Data-Dumper/Dumper.pm
dist/Data-Dumper/Dumper.xs
pod/perldelta.pod