in reply to Re: flock LOCK_EX not locking exclusively
in thread flock LOCK_EX not locking exclusively

i meant it should be
open my $FH, '<', $file or next;