in reply to error message not working
toflock DATA, LOCK_EX | LOCK_NB or die "Already executing: $!";
and then I did get the error message:open my $dummy, ">lock" or die $!; flock $dummy, LOCK_EX | LOCK_NB or die "Already executing: $!";
Already executing: Domain error at temp2.pl line 7.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: error message not working
by bart (Canon) on Nov 30, 2004 at 14:01 UTC | |
|
Re^2: error message not working
by Anonymous Monk on Nov 30, 2004 at 12:18 UTC | |
by Arunbear (Prior) on Nov 30, 2004 at 13:32 UTC |