document updated 12 years ago, on Jul 15, 2011
After downloading a mirror with CPAN::Mini, you can examine the full list of modules just by looking
inside of 02packages.details.txt.gz
TODO:
- is it possible to build this into a CGI script, that provides easy links to search.cpan.org/dist/... ?
- it would also be awfully handy of the brief descriptions could be provided... this
would take a bit more parsing, but not that difficult.
It should look just like this!! (this example is for DBIx::* )
http://search.cpan.org/modlist/Database_Interfaces/DBIx
- are there any existing tools out there that provide this?
__END__
quickly examine 02packages.details.txt.gz :
gzip -dc 02packages.details.txt.gz | perl -nale 'BEGIN{while(<>){last if /^$/}}; print $F[0]'
[approx 90,000 lines are returned]
quickly examine 03modlist.data.gz :
gzip -dc 03modlist.data.gz | perl -000 -le '$discard=<>; eval <>; print join "\n", sort keys %{ CPAN::Modulelist->data }'
[approx 6,000 lines are returned]