Set up or update database tables
Version: 0.76CPAN::Search::Lite::Index is a Perl module to setup or update database tables.
License: Perl Artistic License
Operating System: Linux
Homepage: search.cpan.org
Developed by:
SYNOPSIS
my $index = CPAN::Search::Lite::Index->new(config => 'cpan.conf', setup => 1);
$index->index();
This is the main module used to set up or update the database tables used to store information from the CPAN and ppm indices. The creation of the object
my $index = CPAN::Search::Lite::Index->new(%args);
accepts three arguments:
* config => /path/to/config.conf
This argument specifies where to find the configuration file used to determine the remaining options. In lieu of this option, the environment variable CSL_CONFIG_FILE pointing to the configuration file may be specified.
* setup => 1
This (optional) argument specifies that the database is being set up. Any existing tables will be dropped.
* reindex => value
This (optional) argument specifies distribution names that one would like to reindex in an existing database. These may be specified as either a scalar, for a single distribution, or as an array reference for a list of distributions.