Help for this page

Select Code to Download


  1. or download this
    The status returned by the last pipe close, backtick
    (``) command, successful call to wait() or waitpid(), or from
    the system() operator.
    
  2. or download this
    open my $oldout, '>&STDOUT' or die "Duping STDOUT: $!\n";
    open my $olderr, '>&STDERR' or die "Duping STDERR: $!\n";
    ...
      system('sleep 5');
    }
    close $log;