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" doesn't try 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 use_index
70 You can specify an index name of CPAN::Common::Index module (such
71 as "Mirror" or "MetaDB") not to list all the modules of a required
72 distribution.
73
74 blib
75 If this is set, "scan-perl-prereqs-nqlite" will traverse
76 subdirectories under "blib" to collect runtime requirements. It
77 may return better results if some of the files are located in some
78 uncommon places and/or some of them are listed in "no_index".
79 However, files in "blib" may be older than the ones under "lib"
80 etc, and you need to update them by running a make or a "Build"
81 script before you run "scan-perl-prereqs-nqlite".
82
84 Kenichi Ishigaki, <ishigaki@cpan.org>
85
87 This software is copyright (c) 2015 by Kenichi Ishigaki.
88
89 This is free software; you can redistribute it and/or modify it under
90 the same terms as the Perl 5 programming language system itself.
91
92
93
94perl v5.28.1 2019-02-03 SCAN-PERL-PREREQS-NQLITE(1)