in reply to Ensuring only one copy of a perl script is running at a time
File::Pid may be helpful to you.
Also, merlyn wrote Highlander: one instance at a time (Oct 00). Although it does use flock
I'll skip the ever-so-tempting OS trolling ...