edimusrex has asked for the wisdom of the Perl Monks concerning the following question:

I am searching for a simple way to prevent a script from running if it's already running. In python I've used singleton from the tendo package, is there a similar module for Perl? I was looking into Class::Singleton but am not 100% sure if that's what I should be exploring.

Advice would be greatly appreciated