CPAN-Search-Lite documentation | view source
 CPAN::Search::Lite::PPM - extract ppm package information from repositories


NAME

CPAN::Search::Lite::PPM - extract ppm package information from repositories

__top


DESCRIPTION

This module gets information on available ppm packages on remote repositories. The repositories searched are specified in $respositories of CPAN::Search::Lite::Util. Only those distributions whose names appear from CPAN::Search::Lite::Info are saved. After creating a CPAN::Search::Lite::PPM object through the new method and calling the fetch_info method, the information is available as:

   my $ppms = $ppm_obj->{ppms};
   for my $rep_id (keys %{$ppms}) {
     print "For repository with id = $rep_id:\n";
     for my $package (keys %{$ppms->{$id}}) {
       print << "END";
 
 Package: $package
 Version: $ppms->{$rep_id}->{$package}->{version}
 Abstract: $ppms->{$rep_id}->{$package}->{abstract}
 END
     }
   }

__top


SEE ALSO

the CPAN::Search::Lite::Index manpage

__top

 CPAN::Search::Lite::PPM - extract ppm package information from repositories

CPAN-Search-Lite documentation | view source