in reply to Re: How to save and reload my hash
in thread How to save and reload my hash
Hello dear Monks,
first thanks for you answers.
I first tried : (cos it's the shortest)
use Storable; # fill my hash store \%host_info, 'file'; %host_info = (); %host_info = %{retrieve('file')}; # print my hash
This worked. Don't know what I did yesterday, when I used
store \%host_info, 'file';(probably not exactly that) It had a file with just
pst01234(and some unprintable chars).
Maybe I should not code until 6am.
Thank you all.
Have a nice day !
"There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates
In Section
Seekers of Perl Wisdom