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

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

Thread Previous | Thread Next
July 22, 2013 16:16
Re: [perl #74798] [PATCH] Data::Dumper: useqq implementation for xs
Message ID:
On 22 July 2013 02:32, Tony Cook via RT <> wrote:
> 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.

Yeah, I meant to reply to this thread thanking you for that. :-)

Thanks man!


perl -Mre=debug -e "/just|another|perl|hacker/"

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