in reply to One instance of perl program
And your question is?
site:perlmonks.org One instance of perl program returns lots of relevant hits, also Highlander - allow only one invocation at a time of an expensive CGI script.