Help for this page

Select Code to Download


  1. 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'};
    
  2. or download this
    if(defined($this->{'_stdout'}))
    {
    ...
        print STDERR "STDERR restored\n";
        undef($this->{'_stderr'});
    }
    
  3. or download this
    print() on closed filehandle main::STDOUT at FSLAMTest.pm line 312.