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