Help for this page

Select Code to Download


  1. or download this
    if(open($fh, "-|")){
        while( < $fh > ){ $temp.= $_; }
    ...
        close($fh);
    }
    exit;
    
  2. or download this
    open $fh, "-|";
    
  3. or download this
    my $pid = open $fh, "-|";
    
    ...
                 # the statements after this block!
    }
    # parent continues ...