Don't dump the hash as
print Dumper %hash;
But rather use
print Dumper \%hash; # ^
Then you can simply use eval to obtain a hash reference, so for example
my %copied_hash = %{ eval $string };
In reply to Re: Read the Dumper data back to a hash.
by moritz
in thread Read the Dumper data back to a hash.
by rachitmohta11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |