in reply to Re^2: Using the same hashes as different object variables
in thread Using the same hashes as different object variables

my $hash = eval Data::Dumper->new([{foo => 1, bar => 2}])->Purity(1)->Dump;