Help for this page

Select Code to Download


  1. or download this
    for (my $i = 3; $i >= 0; $i--) {
      close($handles[$i]);
    }
    
  2. or download this
    if (!open($handles[$i], "|-") {
      ...close $handles[0..$i-1]...
      child(); exit(0);
    }