scan-perl-prereqs-nqlite
scan-perl-prereqs-nqlite [DIRS|FILES]
scan-perl-prereqs-nqlite traverses several files and subdirectories in the current directory with File::Find to collect all .pl, .PL, .pm, .t, .psgi files (as well as all the files in scripts? and bin directories), and prints a single combined list of prerequisites, which should be suitable for piping to cpanm or similar tools.
.pl
.PL
.pm
.t
.psgi
scripts?
bin
cpanm
You can also pass files and/or directories to limit files to scan. In this case, however, scan-perl-prereqs-nqlite doesn't try to exclude modules that should belong to the same distribution.
Show the version.
Show this help.
Print prerequisites as a JSON if JSON::PP is installed.
Print prerequisites as cpanfile if Module::CPANfile is installed. If safe-cpanfile is set, create or update cpanfile.
cpanfile
safe-cpanfile
Print suggestions (used modules in eval) as well.
use
eval
Print requirements/suggestions for developers (used modules in xt, inc, and author directories) as well.
xt
inc
author
Ignore prerequisites that are bundled in the Perl core (of 5.008001 by default). This requires Module::CoreList version 2.99 or above.
Ignore prerequisites that are bundled in the Perl core of specific version. This implies exclude-core as well.
exclude-core
Set the base directory from where scan-perl-prereqs-nqlite starts traversing files and directories.
If this is set, scan-perl-prereqs-nqlite will traverse subdirectories under blib to collect runtime requirements. It may return better results if some of the files are located in some uncommon places and/or some of them are listed in no_index. However, files in blib may be older than the ones under lib etc, and you need to update them by running a make or a Build script before you run scan-perl-prereqs-nqlite.
blib
no_index
lib
Build
Kenichi Ishigaki, <ishigaki@cpan.org>
This software is copyright (c) 2015 by Kenichi Ishigaki.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perl::PrereqScanner::NotQuiteLite, copy and paste the appropriate command in to your terminal.
cpanm Perl::PrereqScanner::NotQuiteLite
CPAN shell
perl -MCPAN -e shell install Perl::PrereqScanner::NotQuiteLite
For more information on module installation, please visit the detailed CPAN module installation guide.