in reply to Re: Exclusive open for append
in thread Exclusive open for append

D'oh. All I needed was flock(LOG, LOCK_EX | LOCK_NB) || die "cannot lock $logfile: $!\n";. Thanks.