perldoc -f flock says:
Two potentially non-obvious but traditional
"flock" semantics are that it waits indefinitely
until the lock is granted, ...
So it works alright it seems, it just waits until it will be allowed to flock the file instead of aborting with that error message.
Cheers, Sören
In reply to Re: error message not working
by Happy-the-monk
in thread error message not working
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |