in reply to flock LOCK_EX not locking exclusively

It should be "open my $FH, '>', $file or next" It still does the same error though --The Author
  • Comment on Re: flock LOCK_EX not locking exclusively

Replies are listed 'Best First'.
Re^2: flock LOCK_EX not locking exclusively
by Anonymous Monk on Jan 03, 2008 at 01:12 UTC
    i meant it should be
    open my $FH, '<', $file or next;