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

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

Thread Previous
From:
demerphq
Date:
December 24, 2013 16:16
Subject:
Re: [perl #82948] Data::Dumper error repeatly serializes
Message ID:
CANgJU+XQg4OhPJnJb6KZAk-09rGiWo6f6HgFxhb3E=psTjxJYQ@mail.gmail.com
On 17 December 2013 06:52, Tony Cook via RT <perlbug-followup@perl.org> wrote:
> 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.

Thanks a lot for the work Tony. If you ever make it to Amsterdam the
beer is on me.

Yves

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

Thread Previous


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