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

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::Info - extract information from CPAN indices

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 CPAN::Search::Lite::Index.

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:

SEE ALSO ^

CPAN::Search::Lite::Index

syntax highlighting: