in reply to Re: Re: Re: Re: Module to read a dumped file
in thread Module to read a dumped file

Try using the Dump function of Data::Dumper like this:
use Data::Dumper; my %hash2 = ( some => "really", complicated => ["hash", ["structure"]] ); print Data::Dumper->Dump([\%hash2], ['*hash2']);
this prints out:
%hash2 = ( 'some' => 'really', 'complicated' => [ 'hash', [ 'structure' ] ] );
writing to a file and do()ing it is left as an exercise

--

flounder