This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #124091] PP Data::Dumper fails on \n isolate
authorKarl Williamson <khw@cpan.org>
Tue, 17 Mar 2015 21:44:03 +0000 (15:44 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 18 Mar 2015 15:44:16 +0000 (09:44 -0600)
commitb8cae652c696ff805cc1c46872c4aa89444dd1e8
tree4adcda6107ba89f9de95feb8259fb6fb788edeae
parent49c4aee9770d41c2fd7866800ef51cfa28e02b58
PATCH: [perl #124091] PP Data::Dumper fails on \n isolate

Commit 31ac59b61698e704b64192de74793793f4b5b0c0 inadvertently changed
the behavior of the pure perl version of Data::Dumper.  If a newline is
the sole character in something being dumped with useqq, it no longer
got translated into a \n sequence and was output raw.  This was due to
the regex matching of \n at beginning and ends of strings.
dist/Data-Dumper/Dumper.pm
dist/Data-Dumper/t/dumper.t