Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: using external file for hashes

by r0adawg (Sexton)
on Jun 04, 2013 at 18:26 UTC ( #1037031=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^2: using external file for hashes
Re^3: using external file for hashes
by frozenwithjoy (Curate) 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.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1037031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-07-07 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls