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=82948Thread Next