Help for this page

Select Code to Download


  1. or download this
        for (@proc) {
    
  2. or download this
        my $cmd = "dir $_:";
        my $pid = open my $fh, "-|", $cmd # ...
    
  3. or download this
        my $pid = open my $fh, "-|", "dir", "$_:" # ...
    
  4. or download this
        my $pid = open my $fh, "dir $_: |" # ...
    
  5. or download this
        kill 15, values %pids;
    
  6. or download this
        kill 15, map {$_->[0]} values %pids;