Help for this page

Select Code to Download


  1. or download this
    sub file_processing {
       my ($script, $arg, $file) = @_;
    ...
    
       return @ret;
    }
    
  2. or download this
    my $pid = open(FILE, "-|");
    if (!$pid) {
    ...
    
       exec($script, $arg, $file) or die "Couldn't exec: $!";
    }