Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 meditating upon the Monastery: (11)
As of 2015-07-03 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls