in reply to Re: Easiest way to protect process from duplication.in thread [Solved]Easiest way to protect process from duplication.
use Fcntl qw(LOCK_EX LOCK_NB);
die "Another instance is already running" unless flock DATA, LOCK_EX|L
An organised event
A traditional gathering
With family and friends
I don't celebrate the New Year
Adjusting my clocks for the Leap Second
I can't remember
Results (226 votes). Check out past polls.