in reply to Exclusive open for append

Where do you see the “exclusive” part? You didn’t flock the file, after all.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^2: Exclusive open for append
by gri6507 (Deacon) on Nov 18, 2005 at 16:35 UTC
    D'oh. All I needed was flock(LOG, LOCK_EX | LOCK_NB) || die "cannot lock $logfile: $!\n";. Thanks.