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:
Tony Cook
Date:
July 2, 2013 00:35
Subject:
Re: [perl #74798] [PATCH] Data::Dumper: useqq implementation for xs
Message ID:
20130702003431.GA20589@mars.tony.develop-help.com
On Tue, Jun 25, 2013 at 03:57:04PM +0200, Slaven Rezic wrote:
> Tony Cook via RT wrote:
> >On Mon Sep 27 04:53:05 2010, srezic@iconmobile.com wrote:
> >>This suggests that there are some tests missing. So please accept
> >>    first
> >>the attached patch which just add tests for all of 0..255. I'll look
> >>into the problems later.
> >Hi Slaven,
> >
> >Did you ever have a chance to look further into this?
> >
> >Tony
> >
> Hi Tony,
> 
> here's a revised patch.
> 
> (Anyway, how good's test coverage of Data::Dumper?)

Somehow this message didn't make it into RT.

There's one bug I can see with this change:

  $ ./perl -Ilib -MData::Dumper -e '++$Data::Dumper::Useqq; print Dumper("\x011")'
  $VAR1 = "\11";

This isn't present in the perl version:

  $ ./perl -Ilib -MData::Dumper -e '++$Data::Dumper::Useqq; ++$Data::Dumper::Useperl; print Dumper("\x011")'
  $VAR1 = "\0011";

Tony

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