CPAN-Search-Lite documentation | view source
 CPAN::Search::Lite::Info - extract information from CPAN indices


NAME

CPAN::Search::Lite::Info - extract information from CPAN indices

__top


DESCRIPTION

This module extracts information from the CPAN indices $CPAN/indices/ls-lR.gz, $CPAN/modules/03modlist.data.gz, $CPAN/modules/02packages.details.txt.gz, and $CPAN/authors/01mailrc.txt.gz. If a local CPAN mirror isn't present, it will use the files fetched from a remote CPAN mirror under CPAN by the CPAN::Search::Lite::Index manpage.

A CPAN::Search::Lite::Info object is created with

    my $info = CPAN::Search::Lite::Info(CPAN => $cpan);

where $cpan specifies the top-level CPAN directory underneath which the index files are found. Calling

    $info->fetch_info();

will result in the object being populated with 3 hash references:

__top


SEE ALSO

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

__top

 CPAN::Search::Lite::Info - extract information from CPAN indices

CPAN-Search-Lite documentation | view source