Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Script to update your PPM Repositories

by mikasue (Friar)
on Jul 11, 2006 at 01:03 UTC ( #560285=note: print w/ replies, xml ) Need Help??

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;    
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://560285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2014-08-27 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls