Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Dumper CPAN distribution.

Report information
The Basics
Id: 53846
Status: new
Priority: 0/
Queue: Data-Dumper

People
Owner: Nobody in particular
Requestors: christian4perl [...] lists.muthpartners.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Necessity of $Data::Dumper::Purity ?
Date: Wed, 20 Jan 2010 17:44:03 +0100
To: <bug-Data-Dumper [...] rt.cpan.org>
From: <christian4perl [...] lists.muthpartners.de>
Download (untitled) / with headers
text/plain 543b
Hi why exists this variable. I can read in the docu: "The default output of self-referential structures can be evaled, but the nested references to $VARn will be undefined, since a recursive structure cannot be constructed using one Perl statement." If it so? If i must use more than one statement in a RValue i used an anonym sub with pretensioned using (eg "sub{}->()"). Inside this sub '*any* referential structures can build and the last statement returned the rebuilded structure. See attached example with "patched" DD output; Thanks
Download ref_twice.pl
text/x-perl 1.2k

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.