develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #74798] [PATCH] Data::Dumper: useqq implementation for xs

Thread Previous | Thread Next
Tony Cook via RT
July 22, 2013 00:32
[perl #74798] [PATCH] Data::Dumper: useqq implementation for xs
Message ID:
On Wed Jul 17 07:14:53 2013, demerphq wrote:
> I see nothing that deals with something like this: "\0000"
> That is, a string containing an octal null followed by a zero.
> Or similar cases. The pureperl implementation DOES deal with this:
> $ perl -MData::Dumper -e'$Data::Dumper::Useqq=1; print Dumper("\0000")'
> $VAR1 = "\0000";
> Now, I admit I havent *tried* the patch, but I did not see any code to
> look ahead at the *next* character and check if it is an octal digit,
> and if so force "three digit octal" mode.

Slaven's original patch didn't handle this case, I wrote a follow-up
change that tested for and fixed this behaviour.

That said, I need to look at the BBC failure to see what I've broken.


via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About