|
|
| Do you know where your variables are? | |
| PerlMonks |
How to save and reload my hashby lepetitalbert (Monsignor) |
| on Nov 20, 2005 at 06:12 UTC ( #510202=perlquestion: print w/ replies, xml ) | Need Help?? |
|
lepetitalbert has asked for the
wisdom of the Perl Monks concerning the following question:
Hello dear Monks, I have the following data structure. I'd like to : I read about Storable , YAML , Data::Dumper , MLDBM , ... but am lost (again!) with these 'freeze' , 'thaw' , 'bless' , ... The only thing I was able to do is save the hash to a file with : print FILE Dumper (\%host_info); But is it a way to reload this in my %host_info ? How can I save and reload my hash ? Thanks. Have a nice day.
"There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||