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

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

Thread Previous | Thread Next
From:
demerphq
Date:
July 22, 2013 16:16
Subject:
Re: [perl #74798] [PATCH] Data::Dumper: useqq implementation for xs
Message ID:
CANgJU+XS+wXL2CStowgheJku2QDSi31i8FzaZAHrTZoR0Re9+g@mail.gmail.com
On 22 July 2013 02:32, Tony Cook via RT <perlbug-followup@perl.org> 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!

Yves


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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About