- or download this
$this->{'stdout_log'} = \*FH_STDOUT; # These files have already been o
+pened.
$this->{'stderr_log'} = \*FH_STDERR;
...
# Set the new filehandles for STDOUT and STDERR
*STDOUT = $this->{'stdout_log'};
*STDERR = $this->{'stderr_log'};
- or download this
if(defined($this->{'_stdout'}))
{
...
print STDERR "STDERR restored\n";
undef($this->{'_stderr'});
}
- or download this
print() on closed filehandle main::STDOUT at FSLAMTest.pm line 312.