Take a look at "File Locking Tricks and Traps" at http://perl.plover.com/yak/flock/ for interesting things you can do with 'flock'.
But in your case, I'd just 'use Sys::Syslog' !
Good Luck!
"Well done is better than well said." - Benjamin Franklin
In reply to Re: Safe to open+close for every write, without locking?
by flexvault
in thread Safe to open+close for every write, without locking?
by sedusedan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |