Help for this page

Select Code to Download


  1. or download this
    my $cmd1 = "perl prog1.pl";
    system($cmd1);
    ...
    my $cmd3 = "perl prog3.pl";
    system($cmd3);
    
  2. or download this
    BEGIN {
      open(STDERR, ">stderr2.log")
        or die "Failed to open log file";
    }
    
  3. or download this
    close STDERR;