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

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

Thread Next
From:
Tony Cook via RT
Date:
July 17, 2013 01:12
Subject:
[perl #74798] [PATCH] Data::Dumper: useqq implementation for xs
Message ID:
rt-3.6.HEAD-2552-1374023517-1677.74798-15-0@perl.org
On Tue Jul 09 22:22:37 2013, tonyc wrote:
> On Mon Jul 01 17:35:57 2013, tonyc wrote:
> > On Tue, Jun 25, 2013 at 03:57:04PM +0200, Slaven Rezic wrote:
> > 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";
> 
> I've attached a new series of patches:
> 
> 0001 - Slaven's patch, but don't make dumper.t +x
> 0002 - match whitespace to the original code
> 0003 - fix the problem described above

Applied as:
9baac1a3613bd641a847683d7877b3cfab3244bc,
f1c459431a0f7a1dabba8b8a2b063a110f2f6284,
dbf00f6932923fb26983322f5049702fc937a399 and
merge commit 2780a6ede39cb2f190256ad43e1c61535103caf9.

Tony



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=74798

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