juo has asked for the wisdom of the Perl Monks concerning the following question:
Does anybody know of a module that can read a dumped file and put it back into a hash structure. Below you can see an example of the code to generate a dumped file of a hash table. But I could not find a module to read the dumped file and put it back into a hash table.
open (STDOUT, ">whatever.dat"); use Dumpvalue; my $dumper = new Dumpvalue; $dumper->dumpValue(\%flexlm);
Result of the dumped file
'dataParams' => HASH(0x1ee5ef4) 'license_feature' => HASH(0x1ee5f0c) 'val' => 'geditor' 'license_server' => HASH(0x1ee5f30) 'val' => '10.210.134.126' 'licenses_used' => HASH(0x1ee5f78) 'val' => 7 'machine_names' => HASH(0x1ee5fcc) 'parmOptions' => ARRAY(0x1cd9b24) 0 'solw0328' 1 'solw0082' 2 'vasw1006' 3 'lav000021453a' 4 'tczw5216' 5 'CRKW388' 6 'vasw1005' 'total_licenses' => HASH(0x1ee5f54) 'val' => 15 'user_names' => HASH(0x1ee5fa8) 'parmOptions' => ARRAY(0x1b8442c) 0 'solwebef' 1 'solwebef' 2 'vaskhall' 3 'lvlvalor' 4 'tczrale' 5 'crkjcree' 6 'vasplund'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Module to read a dumped file
by ropey (Hermit) on Feb 11, 2003 at 14:42 UTC | |
by juo (Curate) on Feb 11, 2003 at 15:02 UTC | |
by broquaint (Abbot) on Feb 11, 2003 at 15:28 UTC | |
by juo (Curate) on Feb 11, 2003 at 15:55 UTC | |
by flounder99 (Friar) on Feb 11, 2003 at 16:17 UTC | |
by broquaint (Abbot) on Feb 11, 2003 at 16:19 UTC | |
by demerphq (Chancellor) on Feb 12, 2003 at 00:07 UTC | |
| |
by ropey (Hermit) on Feb 11, 2003 at 15:18 UTC | |
Re: Module to read a dumped file
by CountZero (Bishop) on Feb 11, 2003 at 15:19 UTC | |
Re: Module to read a dumped file
by Jeppe (Monk) on Feb 11, 2003 at 16:57 UTC | |
Re: Module to read a dumped file
by jammin (Novice) on Feb 11, 2003 at 17:32 UTC | |
Re: Module to read a dumped file
by thor (Priest) on Feb 12, 2003 at 00:33 UTC |