in reply to Logical Conundrum

If I were doing this on Win32, I'd look at using Win32::Semaphore.

There is IPC::Semaphore which does a similar thing under *nix, but I don't have any experience of it, so I don't know if it could be adapted for your purposes if that is your platform.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!
Wanted!