- or download this
#!/usr/bin/env perl
use Proc::PID::File;
die "Already running!" if Proc::PID::File->running();
- or download this
pid "/var/run/proc_pid.pl.pid" already locked: Bad file descriptor
- or download this
#!/usr/bin/env perl
use Proc::PID::File;
die "Already running!" if Proc::PID::File->running(dir=>"/my/home/dir"
+);