AnnoCPAN::Update - Update AnnoCPAN database from local CPAN mirror
use AnnoCPAN::Config 'config.pl'; use AnnoCPAN::Update; AnnoCPAN::Update->run(verbose => 1);
This module is used for updating an annocpan database from a local CPAN mirror.
Construct an AnnoCPAN::Update object. Options
The directory containing the local CPAN mirror.
The name of the class used to construct CPAN distribution objects. Defaults to AnnoCPAN::Dist.
Does everything: loads the new modules, deletes the modules that no longer exist, and collects the garbage.
If called as a class method, it calls the constructor automatically.
Load the new modules into the database. Modules that are already loaded are not affected.
Load a specific distribution. If it is already in the database, does nothing.
Delete from the database all the distributions that no longer exist in the CPAN mirror.
Delete from the database the Pods and Dists that no longer exist in any version.
AnnoCPAN::DBI, AnnoCPAN::Config, AnnoCPAN::Dist
Ivan Tubert-Brohman <itub@cpan.org>
Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install AnnoCPAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnnoCPAN
CPAN shell
perl -MCPAN -e shell install AnnoCPAN
For more information on module installation, please visit the detailed CPAN module installation guide.