Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Will these functions for use with Storable properly lock my file?by nysus (Parson) |
on Aug 03, 2021 at 13:12 UTC ( [id://11135575]=note: print w/replies, xml ) | Need Help?? |
After a little testing, it seems to work well. Hard to say for sure with these race conditions. I did make a change to the _retrieve sub to lock the semaphore file even if the data file does not exist:
$PM = "Perl Monk's";
In Section
Seekers of Perl Wisdom
|
|