No such thing as a small change | |
PerlMonks |
Re: RFC: A new module to help avoid running multiple instances of the same script (via cron, for example)by moritz (Cardinal) |
on Dec 03, 2009 at 08:54 UTC ( [id://810783]=note: print w/replies, xml ) | Need Help?? |
I think Cron:: is a bad top level namespace when the module is not specific to cron at all.
What about using Process:: instead? Something like Process::AvoidConcurrentRuns or Process::AvoidMultipleInstances or Process::Singleton Also if you put this on CPAN, you might think about different possible use cases:
This is of course just an example, but I want to encourage you to think more about the interface.
In Section
Meditations
|
|