Help for this page

Select Code to Download


  1. or download this
    open (LOG, "> $buildLog") || die "-E- Can't open (write) the log file:
    + $buildLog\n($!)\n";
    tee(STDOUT, '>>', $buildLog);
    ...
                    &sendBuildFailure ($object);
                    close (LOG);
                exit 1;
    
  2. or download this
    tee(STDOUT, '>>', $buildLog);
    tee(STDERR, '>>', $buildLog);