in reply to Checking for multiple instances
Otherwise, what's wrong with using something like Cache::File? First thing you do is check the cache to see if the lock is set. If it is, leave. If it's not, set the lock. When you're done, release the lock.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
|---|