This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handle xs Useqq dumping of strings with an escape followed by a digit
authorTony Cook <tony@develop-help.com>
Wed, 10 Jul 2013 04:54:20 +0000 (14:54 +1000)
committerTony Cook <tony@develop-help.com>
Wed, 17 Jul 2013 00:58:35 +0000 (10:58 +1000)
commitdbf00f6932923fb26983322f5049702fc937a399
tree680c0c04fa3207ebfa2308dc6a7a27631b5e8e11
parentf1c459431a0f7a1dabba8b8a2b063a110f2f6284
handle xs Useqq dumping of strings with an escape followed by a digit

The original patch didn't handle a string like "\x001" correctly, encoding
it as "\01" rather than "\0001".

Added tests for this case and some possible corner cases
dist/Data-Dumper/Dumper.pm
dist/Data-Dumper/Dumper.xs
dist/Data-Dumper/t/dumper.t