1SCAN-PERL-PREREQS-NQLITUEs(e1r)Contributed Perl DocumentSaCtAiNo-nPERL-PREREQS-NQLITE(1)
2
3
4
6 scan-perl-prereqs-nqlite
7
9 scan-perl-prereqs-nqlite [DIRS|FILES]
10
12 "scan-perl-prereqs-nqlite" traverses several files and subdirectories
13 in the current directory with File::Find to collect all ".pl", ".PL",
14 ".pm", ".t", ".psgi" files (as well as all the files in "scripts?" and
15 "bin" directories), and prints a single combined list of prerequisites,
16 which should be suitable for piping to "cpanm" or similar tools.
17
18 You can also pass files and/or directories to limit files to scan. In
19 this case, however, "scan-perl-prereqs-nqlite" may fail to exclude
20 modules that should belong to the same distribution.
21
23 version
24 Show the version.
25
26 help
27 Show this help.
28
29 json
30 Print prerequisites as a JSON if JSON::PP is installed.
31
32 cpanfile, save_cpanfile
33 Print prerequisites as "cpanfile" if Module::CPANfile is installed.
34 If "safe-cpanfile" is set, create or update "cpanfile".
35
36 suggests
37 Print suggestions ("use"d modules in "eval") as well.
38
39 develop
40 Print requirements/suggestions for developers ("use"d modules in
41 "xt", "inc", and "author" directories) as well.
42
43 exclude_core
44 Ignore prerequisites that are bundled in the Perl core (of 5.008001
45 by default). This requires Module::CoreList version 2.99 or above.
46
47 perl_version
48 Ignore prerequisites that are bundled in the Perl core of specific
49 version. This implies "exclude-core" as well.
50
51 allow_test_pms
52 Print requirements/suggestions in .pm files that are placed under
53 t/ directory but are not directly used from .t files, too. If
54 Test::Class family is used under t/, this option is implicitly set.
55
56 base_dir
57 Set the base directory from where "scan-perl-prereqs-nqlite" starts
58 traversing files and directories.
59
60 ignore
61 Set a list of paths "scan-perl-prereqs-nqlite" should ignore. This
62 is useful when your distribution has a set of OS-specific modules,
63 for example.
64
65 ignore_re
66 You can also specify a regexp instead of a list of paths. If this
67 is set, "ignore" options are ignored.
68
69 private
70 Set a list of modules "scan-perl-prereqs-nqlite" should consider
71 private, that is, that are not uploaded to the CPAN. Contrary to
72 the "ignore" option, which makes the scanner skip scanning the
73 file, this option lets the scanner scan files, and excludes matched
74 prerequisites afterwards.
75
76 private_re
77 You can also specify a regexp instead of a list of modules. If this
78 is set, "private" options are ignored.
79
80 scan_also
81 Set a list of extra paths "scan-perl-prereqs-nqlite" should also
82 scan. This is useful when your application/distribution uses an
83 untraditional file layout.
84
85 feature
86 scan-perl-prereqs-nqlite \
87 --feature name:description:lib/My/Plugin/For/SpecificOS \
88 --feature name:description:web/lib,web/bin
89
90 Specify a feature name, a description, and matching paths.
91
92 use_index
93 You can specify an index name of CPAN::Common::Index module (such
94 as "Mirror" or "MetaDB") not to list all the modules of a required
95 distribution.
96
97 blib
98 If this is set, "scan-perl-prereqs-nqlite" will traverse
99 subdirectories under "blib" to collect runtime requirements. It
100 may return better results if some of the files are located in some
101 uncommon places and/or some of them are listed in "no_index".
102 However, files in "blib" may be older than the ones under "lib"
103 etc, and you need to update them by running a make or a "Build"
104 script before you run "scan-perl-prereqs-nqlite".
105
106 parser
107 Set a list of parsers (or parser tags) "scan-perl-prereqs-nqlite"
108 uses. If this option is not set, the scanner uses ":installed"
109 parsers by default.
110
111 inc Add a list of additional @INC path "scan-perl-prereqs-nqlite" looks
112 for private parsers.
113
115 Kenichi Ishigaki, <ishigaki@cpan.org>
116
118 This software is copyright (c) 2015 by Kenichi Ishigaki.
119
120 This is free software; you can redistribute it and/or modify it under
121 the same terms as the Perl 5 programming language system itself.
122
123
124
125perl v5.28.1 2019-02-06 SCAN-PERL-PREREQS-NQLITE(1)