good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Recovering from a corrupt storable fileby chanakya (Friar) |
on Mar 30, 2010 at 12:06 UTC ( [id://831832]=perlquestion: print w/replies, xml ) | Need Help?? |
chanakya has asked for the wisdom of the Perl Monks concerning the following question:
Dear All I have a Perl script which creates/update persistence cache file on the disk using Storable. Lately I have observed an issue. Basically one of the members had killed the script in between and this has corrupted the persistence cache and I'm not able to recover from that point. We store the counts of processed files as well as individual counts per each hour into the cache file. This is a hash ref that gets stored. I'd like to know is there any fallback mechanism or any technique which can get the data from the corrupted cache file. Thank you for your time.
Back to
Seekers of Perl Wisdom
|
|