http://qs321.pair.com?node_id=1037031


in reply to Re: using external file for hashes
in thread using external file for hashes

some of the hashes are not zero based. I'm working with a legacy program.

Replies are listed 'Best First'.
Re^3: using external file for hashes
by frozenwithjoy (Priest) on Jun 04, 2013 at 18:33 UTC
    I see. How about using Data::Dumper to make a file of your hashes? Then read this file in (split each structure based on some delimiter you add during the write process and rebuild hashes w/ eval like described in the answers to Read the Dumper data back to a hash.
      Check also Unexpected Data::Dumper results if your hashes contain references that might point to the same thing.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ