I notice 2 things right away with the code you have kindly provided. Firstly it is not using locking and secondly it performs no error checking (eg. the return values from retrieve and particularly store are never tested). I would expect to see both of these in critical code and without them there is unfortunately little to go on.
And just in case it is relevant, it would be good to know which version of Storable your environment is using.
🦛
In reply to Re: Storable - File empties itself?
by hippo
in thread Storable - File empties itself?
by feumw
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |