Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: using external file for hashes

by frozenwithjoy (Priest)
on Jun 04, 2013 at 18:33 UTC ( #1037032=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^4: using external file for hashes
by choroba (Chancellor) on Jun 04, 2013 at 18:40 UTC
    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://1037032]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-02-21 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (308 votes). Check out past polls.