blib/lib/Acme/CPANModules/LocalCPANIndex.pm

filter: Statementstmt 100% 4 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 4 / 4 SCAR 0
CC
0
Cov
0%
CRAP 0
↑ Summary
1 package Acme::CPANModules::LocalCPANIndex;
2  
3 1 our $DATE = '2019-01-09'; # DATE
4 1 our $VERSION = '0.001'; # VERSION
5  
6 1 our $LIST = {
7 summary => 'Creating an index against local CPAN mirror',
8 description => <<'_',
9  
10 Since CPAN repository index is just a couple of text files (currently: list of
11 authors in `authors/01mailrc.txt.gz` and list of packages in
12 `modules/02packages.details.txt.gz`), to perform more complex or detailed
13 queries additional index is often desired. The following modules accomplish
14 that.
15  
16 _
17 entries => [
18 {
19 module=>'App::lcpan',
20 description => <<'_',
21  
22 In addition to downloading a CPAN mini mirror (using <pm:CPAN::Mini>), this
23 utility also indexes the package list and distribution metadata into a SQLite
24 database so you can perform various queries, like list of
25 modules/distributions/scripts of a CPAN author, or related modules using
26 cross-mention information on modules' PODs, or various rankings.
27  
28 _
29 },
30 {
31 module=>'CPAN::SQLite',
32 description => <<'_',
33  
34 This module parses the two CPAN text file indexes (`authors/01mailrc.txt.gz` and
35 `modules/02packages.details.txt.gz`) and puts the information into a SQLite
36 database. This lets you perform queries more quickly without reparsing the text
37 files each time. But it does not parse distribution metadata so you don't get
38 additional querying capability like dependencies.
39  
40 _
41 },
42 ],
43 };
44  
45 1 1;
46 # ABSTRACT: Creating an index against local CPAN mirror
47  
48 __END__
↑ Summary