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

[perl #82948] Data::Dumper error repeatly serializes

Thread Next
From:
Tony Cook via RT
Date:
December 17, 2013 05:52
Subject:
[perl #82948] Data::Dumper error repeatly serializes
Message ID:
rt-4.0.18-24626-1387259541-1990.82948-15-0@perl.org
On Sun Dec 01 19:48:17 2013, tonyc wrote:
> On Wed Nov 20 21:56:29 2013, tonyc wrote:
> > I've attached a patch that modifies Data::Dumper to dump regexp
> > objects using the list form of regexp_pattern(), both in the perl and
> > XS code paths.
> > 
> > Is this the desired behaviour?
> 
> Oops, somehow I missed adding the actually useful patch.
> 
> Here it is, I hope.

I've applied this as b183d514e3e9929ed0c33d4178f16937e6dcbbe1 with some test adjustments to work on older perls.

Let's see how many CPAN modules test against the literal output of Data::Dumper
dumps.

Leaving this ticket open for a) the fall-out, b) maybe I'll follow Dave's suggestion about codeblocks.

Tony

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

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