Help for this page

Select Code to Download


  1. or download this
    #updateWorkingRepositories.pl
    use strict;
    ...
            my ($number, $repository) = $_ =~ /(\[[^>]*\]\s)(.*)/;
            if ($repository) {
                unless ($repository =~ /activestate/i) {
    
  2. or download this
    
    $repository` unless (/activestate/i); }        
    ...
            if ( $p->ping($domain) ) {
                print "$repository is alive.\n";
    
  3. or download this
            } else {
                print "$repository is dead.\n";
    ...
        } 
        return $trimmed_domain;    
    }