That it was that simple after all. This is doing the job except for one thing. If your hashtable contains a non-referenced top level it will be removed during the input using do. See sample below
Original hash table
$VAR1 = 'dataParams'; $VAR2 = { 'license_feature' => { 'val' => 'geditor' }, };
New hash table
$VAR1 = 'license_feature'; $VAR2 = { 'val' => 'geditor' };
So it is not exactly the same but it already helps a lot.
In reply to Re: Re: Re: Re: Module to read a dumped file
by juo
in thread Module to read a dumped file
by juo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |