MetaCPAN::Clients - Some useful stand-alone scripts to access MetaCPAN
metacpan_meta.pl N [PAUSEID] metacpan_namespace.pl --module Module::Name metacpan_namespace.pl --distro Distro-Name (or partial name) metacpan_impact.pl --distro Distribution-Name metacpan_reverse_dependencies.pl --distro Distro-Name metacpan_favorite.pl <token> <file>
... or read the articles and check out MetaCPAN::API.
For an explanation of the metacpan_meta.pl script see Fetching META data from Meta CPAN.
For the metacpan_namespace.pl see List all the Perl modules and distributions in a name-space using Meta CPAN.
The metacpan_reverse_dependencies.pl show the list of distributions that use the given distribution. Code taken from Test::DependentModules of Dave Rolsky.
The metacpan_favorite.pl was created by David Golden and it is explained in How to mass-favorite modules on MetaCPAN
The token is taken from https://api.metacpan.org/user (assuming you are logged in) from the key access_token, token. The input file contains lines of "Distro-Name AUTHOR release" but it can work with "Distro-Name" alone too.
Some results using these scripts show:
On December 28, 2012 we found that 17.4% of CPAN uploads have no license in the META files
On January 3, 2013 we found that 50% of the new CPAN uploads have a repository link
On February 5, 2013 we found that still about 16.6% of the recent CPAN uploads have no license and 50% no repository link in their META files.
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Gabor Szabo.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.