in reply to
Recreating hash from Data::Dumper text
When you eval the Dumper data,
$VAR1
barfs under
use strict
. Try
$h=eval 'my '. $t;
[download]
This trick only works for a single $VAR1. You will want
no strict
for more general cases.
-Mark
Comment on
Re: Recreating hash from Data::Dumper text
Select
or
Download
Code
In Section
Seekers of Perl Wisdom