There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Ed, In the actual module (File::Write::Rotate, now already uploaded to CPAN), I do use a zero-length dummy file (lock file). Regarding not deleting the data file for every script: you have good eyes :) Actually I did truncate the file before each test, but I didn't include it in the post. So, my bad. Also, thanks for comparing with syslog. Nice to know. In reply to Re^4: Safe to open+close for every write, with locking?
by sedusedan
|
|