Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
gives me "can't lock (Input/output error)". I can't reproduce this in a simple test case. My simple test cases always work. Any idea what would cause flock to fail in this way? What does "Input/output error" from a flock failure mean?open LOGFILE, ">>$logfile" or die("can't open"); flock(LOGFILE, LOCK_EX) or die("can't lock ($!)")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: flock "Input/output error"
by Anonymous Monk on Jan 21, 2009 at 04:27 UTC | |
by Anonymous Monk on Jan 21, 2009 at 04:47 UTC | |
by Anonymous Monk on Jan 22, 2009 at 04:12 UTC |