Hello,
I wrote a script which involved writing a file, which may als be writing by another script. To prevent crashes, I want to used the flock() function.


my question is:
How do I check if a file is locked by other script or I simply can't read?

Koala

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



Reply via email to