I'm not exactly sure I understand your question, but if you've got a hash dumped to a file (from something like print Dumper( \%hash )) and you trust the file source, you could read it in to a string and eval it.
If you are using the file as a simplified database, you may want to consider DBM::Deep or Storable.
In reply to Re: reading the hash information from a file
by bobf
in thread reading the hash information from a file
by phemal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |