in reply to Unexpected Data::Dumper results

Probably not what you would call elegant but if you execute it twice, it works... at least in this case. Just like LaTeX...

$VAR1 = { 'shared' => \'true', 'parents' => [ { 'isRoot' => $VAR1->{'shared'} } ] } for (1..2); print $VAR1->{parents}->[0]->{isRoot},"\n";

Replies are listed 'Best First'.
Re^2: Unexpected Data::Dumper results
by tqisjim (Beadle) on Apr 27, 2013 at 18:02 UTC
    Executing twice seems like the obvious solution... but there's some loss of data integrity.

      ...and, as with LaTeX, there might be situations where two runs are not enough...