File Coverage

blib/lib/Acme/CPANModules/LocalCPANMirror.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Acme::CPANModules::LocalCPANMirror;
2              
3 1     1   409667 use strict;
  1         2  
  1         141  
4              
5             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6             our $DATE = '2023-10-29'; # DATE
7             our $DIST = 'Acme-CPANModules-LocalCPANMirror'; # DIST
8             our $VERSION = '0.002'; # VERSION
9              
10             our $LIST = {
11             summary => 'List of modules/tools to create a local CPAN mirror',
12             description => <<'_',
13              
14             Since CPAN repository is just a hierarchy of files, you can simply use a
15             recursive download/mirror tool over http/https/ftp. However, for additional
16             features you can take a look at the modules in this list.
17              
18             _
19             entries => [
20             {
21             module=>'CPAN::Mini',
22             description => <<'_',
23              
24             This module lets you create a so-called "mini mirror", which only contains the
25             newest release for each distribution (where CPAN might also contains previous
26             versions of a distribution as long as the CPAN author does not clean up his
27             previous releases). This produces a significantly smaller CPAN mirror which you
28             can use on your PC/laptop for offline development use.
29              
30             _
31             },
32             {
33             module=>'App::lcpan',
34             description => <<'_',
35              
36             This application not only lets you download a CPAN mini mirror (using
37             actually) but also index the package list and distribution
38             metadata into a SQLite database so you can perform various queries, like list of
39             modules/distributions/scripts of a CPAN author, or related modules using
40             cross-mention information on modules' PODs, or various rankings.
41              
42             _
43             },
44             ],
45             };
46              
47             1;
48             # ABSTRACT: List of modules/tools to create a local CPAN mirror
49              
50             __END__