To store a hash:
To read it back in:open (FILE,">filename"); print FILE Data::Dumper->Dump([\%hashname],['*hashname']); close(FILE);
open (FILE1,"filename"); undef $/; eval <FILE1>; close(FILE1);
In reply to Re: Storing Data stucture in a File
by ChrisR
in thread Storing Data stucture in a File
by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |