in reply to reading the hash information from a file
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading the hash information from a file
by b10m (Vicar) on Feb 16, 2007 at 09:01 UTC |