in reply to Re: Re: Help: STDOUT flaking out?
in thread Help: STDOUT flaking out?
# send output to file ###either open (LOGFILE, ">$logfile") || die "could not open log\n"; print LOGFILE `$tabfile`; if($?) { print STDERR "$tabfile failed: $?\n"; return; } close(LOGFILE); ##or `$tabfile > $logfile`; if($?) { print STDERR "$tabfile failed: $?\n"; return; } ## end or print "foo1\n"; exit (0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: *2nd problem solved* Help: STDOUT flaking out?
by P0w3rK!d (Pilgrim) on May 17, 2001 at 21:24 UTC |