On 25/01/12 19:06, Paul Cupis wrote: > unless (flock(DATA, LOCK_EX|LOCK_NB)) { > exit; > print "$0 is already running. Exiting.\n"; > exit(1); > } Er. editing the commands inside the braces above to suit. :) Regards,