Gossamer Forum
Home : General : Perl Programming :

check if flock is supported

Quote Reply
check if flock is supported
best question,

how can I check if flock() is supported on the server?
Quote Reply
Re: [robyone] check if flock is supported In reply to
Just check the result code on a test script. I thought there was an example of this in the other flock() thread.

Philip
------------------
Limecat is not pleased.
Quote Reply
Re: [robyone] check if flock is supported In reply to
The rule of thumb is:

Windows = No flock support
Everything else = Has flock support

The newest versions of activestate perl deal with this problem to save errors occuring as they did in the past but the thread below this one shows how to deal with it.
Quote Reply
Re: [Paul] check if flock is supported In reply to
please see the other thread .... just posted.