Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
My problem is that sometimes the counter mysteriously loses count and starts from the beginning again, as if the contents were erased somehow.
Consider the following sequence of events: During the source of the die(), files are closed, and locks are released. Because you opened the semaphore file for writing, but haven't yet written to it, it's just been erased. This may or may not be what's happening, but it's one possible explanation. Are you seeing any errors in your error logs? Update: Ignore everything above "Are you seeing any errors in your error logs?".
In reply to Re: Mysterious Disapperance of file contents
by dws
|
|