NateTut has asked for the wisdom of the Perl Monks concerning the following question:
Update:use strict; use warnings; use PPM; use PPM::Repositories; # # Print out all *Active* repositories for perl 5.8.x # for my $rep ( keys %Repositories ) { next unless $Repositories{$rep}->{Active}; next unless grep { $_ == 5.8 } @{ $Repositories{$rep}->{PerlV} }; print("rep add $rep $Repositories{$rep}->{location}\n"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing a PPM Repository for Speed
by CountZero (Bishop) on Apr 05, 2006 at 21:21 UTC | |
|
Re: Testing a PPM Repository for Speed
by randyk (Parson) on Apr 06, 2006 at 00:15 UTC | |
|
Re: Testing a PPM Repository for Speed
by QM (Parson) on Apr 06, 2006 at 02:51 UTC | |
|
Re: Testing a PPM Repository for Speed
by NateTut (Deacon) on Apr 06, 2006 at 14:20 UTC |