<?xml version="1.0" encoding="windows-1252"?>
<node id="433837" title="Re^4: In need of a Dumper that has no pretentions to being anything else." created="2005-02-23 14:34:25" updated="2005-08-12 14:09:35">
<type id="11">
note</type>
<author id="278227">
fergal</author>
<data>
<field name="doctext">
Depends on what you mean by "right". I get

&lt;code&gt;
$VAR1 = [
          \1,
          {
            'key' =&gt; ${$VAR1-&gt;[0]}
          }
        ];
&lt;/code&gt;

which can't be evaluated correctly by Perl's eval but it does contain all the necessary information. A human can see what's going on and it's probably possible to write something that would reconstruct the correct sturucture but it would involve some sort of constraint solver.

&lt;p&gt;Purity just controls whether it should be compatible with eval(). Even with Purity=0, this information should be preserved otherwise certain structures would have identical output even though they're not identical.

&lt;p&gt;Deepcopy controls whether we care about cross references so it definitely should be dropped when you have Deepcopy=1.
</field>
<field name="root_node">
433537</field>
<field name="parent_node">
433705</field>
</data>
</node>
