On Mon, Jun 21, 2004 at 10:10:02PM -0400, Ian Langworth wrote:
> ------------------------------------------
> use Test::More 'no_plan';
> use Fcntl ':flock';
> 
> open ONE, ">foo" or die $!;
> flock ONE, LOCK_EX or die "Can't lock";
> print ONE "line 1\n";
> 
> fork and do {

The test on this line is incorrect. The parent continues to run inside this block.
At the very least you should use 'fork or do { ...'


-Gyepi

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to