my $pid = open LOG, "tail -F theLog |" or die $!; while( ) { ### }