Help for this page

Select Code to Download


  1. or download this
    foreach $webserver ( `cat servers` ) {
        $result = `ssh server cvs update ... `;
    ...
            echo 'problem with server $webserver'
        }
    }
    
  2. or download this
    #! perl
    
    ...
        my $result = `ssh $job cvs update ...`;
        print "Server $job had errors" if $result =~ m[Error];
    }
    
  3. or download this
    #! perl
    use threads;
    ...
    }
    
    $_->join for @threads.