go ahead... be a heretic | |
PerlMonks |
Re: A flock()alypse nowby Notromda (Pilgrim) |
on Jul 02, 2002 at 16:24 UTC ( [id://178899]=note: print w/replies, xml ) | Need Help?? |
Someone correct me if I'm wrong, but all you need to do is check the return code on the flock() call. If you got the lock, do your stuff, otherwise, do something else.
In Section
Seekers of Perl Wisdom
|
|