| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Acme::CPANModules::CPANModules; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
332090
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
32
|
|
|
4
|
1
|
|
|
1
|
|
661
|
use Acme::CPANModulesUtil::Misc; |
|
|
1
|
|
|
|
|
700
|
|
|
|
1
|
|
|
|
|
183
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
|
7
|
|
|
|
|
|
|
our $DATE = '2023-08-06'; # DATE |
|
8
|
|
|
|
|
|
|
our $DIST = 'Acme-CPANModules-CPANModules'; # DIST |
|
9
|
|
|
|
|
|
|
our $VERSION = '0.003'; # VERSION |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $LIST = { |
|
12
|
|
|
|
|
|
|
summary => 'List of modules related to Acme::CPANModules', |
|
13
|
|
|
|
|
|
|
description => <<'_', |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
## Specification |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
is the specification. |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
## CLIs |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
distribution contains the `cpanmodules` CLI to view lists |
|
23
|
|
|
|
|
|
|
and entries from the command-line. |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
distribution provides `cpanmodules-*` |
|
26
|
|
|
|
|
|
|
subcommands for which, like `cpanmodules` CLI, lets you view |
|
27
|
|
|
|
|
|
|
lists and entries from the command-line. |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
distribution contains more CLI utilities related to |
|
30
|
|
|
|
|
|
|
Acme::CPANModules, e.g. `acme-cpanmodules-for` to find whether a module is |
|
31
|
|
|
|
|
|
|
mentioned in some Acme::CPANModules::* modules. |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
## Dist::Zilla (and Pod::Weaver) |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
If you develop CPAN modules with Dist::Zilla, you can use |
|
41
|
|
|
|
|
|
|
and |
|
42
|
|
|
|
|
|
|
. There is also |
|
43
|
|
|
|
|
|
|
to prevent adding |
|
44
|
|
|
|
|
|
|
blacklisted dependencies into your distribution. |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
## Other modules |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
is an older, deprecated specification. |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
## Snippets |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Acme::CPANModules::CPANModules contains this snippet to create entries by |
|
59
|
|
|
|
|
|
|
extracting `` in the description: |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
$LIST->{entries} = [ |
|
62
|
|
|
|
|
|
|
map { +{module=>$_} } |
|
63
|
|
|
|
|
|
|
($LIST->{description} =~ //g) |
|
64
|
|
|
|
|
|
|
]; |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This does not prevent duplicates. To do so: |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
$LIST->{entries} = [ |
|
69
|
|
|
|
|
|
|
map { +{module=>$_} } |
|
70
|
|
|
|
|
|
|
do { my %seen; grep { !$seen{$_}++ } |
|
71
|
|
|
|
|
|
|
($LIST->{description} =~ //g) |
|
72
|
|
|
|
|
|
|
} |
|
73
|
|
|
|
|
|
|
]; |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
_ |
|
76
|
|
|
|
|
|
|
'x.app.cpanmodules.show_entries' => 0, |
|
77
|
|
|
|
|
|
|
}; |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Acme::CPANModulesUtil::Misc::populate_entries_from_module_links_in_description; |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
1; |
|
82
|
|
|
|
|
|
|
# ABSTRACT: List of modules related to Acme::CPANModules |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
__END__ |