Kenichi Ishigaki > CPAN-Search-Lite > CPAN::Search::Lite::PPM

Download:
CPAN-Search-Lite-0.78.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.77   Source  

NAME ^

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

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

SEE ALSO ^

CPAN::Search::Lite::Index

syntax highlighting: