Help for this page

Select Code to Download


  1. or download this
    foreach $row ( @{$ref} ) {
         my $pid = $pm->start(@$row->[0]) and next;
    ...
         print "\n";
         $pm->finish($row);
    }
    
  2. or download this
    foreach $row ( @{$ref} ) {
         my $pid = $pm->start(@$row->[0]) and next;
         exec 'alert_main.pl', '-h', $row->[0], '-p', $passId;
         $pm->finish($row);  # In case exec fails.
    }