SCAN-PE...-NQLITE(1)
πΈ NAME πΈ
okay so bestie, this whole manual page is about scan-perl-prereqs-nqlite β the Perl prereq scanner that eats files and spits out dependency lists. she's giving very much "let me collect your use statements so you don't have to" energy. π
β¨ SYNOPSIS β¨
scan-perl-prereqs-nqlite [DIRS|FILES]
π DESCRIPTION π
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. β¨
You can also pass files and/or directories to limit files to scan. In this case, however, scan-perl-prereqs-nqlite may fail to exclude modules that should belong to the same distribution. so likeβ¦ it still works, but that one caveat is real. π«Ά
π OPTIONS π
versionβ show the version. classic. πhelpβ show this help. your bestie when you're lost.jsonβ print prerequisites as a JSON if JSON::PP is installed.cpanfileβ print prerequisites ascpanfileif Module::CPANfile is installed. Ifsafe-cpanfileis set, create or updatecpanfile.save_cpanfileβ print prerequisites ascpanfileif Module::CPANfile is installed. Ifsafe-cpanfileis set, create or updatecpanfile.suggestsβ print suggestions (used modules ineval) as well.developβ print requirements/suggestions for developers (used modules inxtandauthordirectories) as well.perl_minimum_versionβ may modify required perl version if new language features are used without declaring the required perl version explicitly.exclude_coreβ ignore prerequisites that are bundled with Perl (of 5.008001 by default). This requires Module::CoreList version 2.99 or above.perl_versionβ ignore prerequisites that are bundled with Perl of a specific version. This impliesexclude-coreas well.allow_test_pmsβ print requirements/suggestions in.pmfiles that are placed undert/directory but are not directly used from.tfiles, too. IfTest::Classfamily is used undert/, this option is implicitly set.base_dirβ set the base directory from wherescan-perl-prereqs-nqlitestarts traversing files and directories.ignoreβ set a list of pathsscan-perl-prereqs-nqliteshould ignore. This is useful when your distribution has a set of OS-specific modules, for example.ignore_reβ you can also specify a regexp instead of a list of paths. If this is set,ignoreoptions are ignored.optionalβ set a list of pathsscan-perl-prereqs-nqliteshould ignore. This is useful when your distribution has a set of OS-specific modules, for example.optional_reβ you can also specify a regexp instead of a list of paths. If this is set,optionaloptions are ignored.privateβ set a list of modulesscan-perl-prereqs-nqliteshould consider private, that is, that are not uploaded to the CPAN. Contrary to theignoreoption, which makes the scanner skip scanning the file, this option lets the scanner scan files, and excludes matched prerequisites afterwards.private_reβ you can also specify a regexp instead of a list of modules. If this is set,privateoptions are ignored.scan_alsoβ set a list of extra pathsscan-perl-prereqs-nqliteshould also scan. This is useful when your application/distribution uses an untraditional file layout.featureβ specify a feature name, a description, and matching paths. example era:
scan-perl-prereqs-nqlite \
--feature name:description:lib/My/Plugin/For/SpecificOS \
--feature name:description:web/lib,web/bin
use_indexβ you can specify an index name of CPAN::Common::Index module (such asMirrororMetaDB) not to list all the modules of a required distribution.blibβ if this is set,scan-perl-prereqs-nqlitewill traverse subdirectories underblibto 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 inno_index. However, files inblibmay be older than the ones underlibetc, and you need to update them by running a make or aBuildscript before you runscan-perl-prereqs-nqlite.
heads up bestie: thatblibolder-files situation is a real warning, not a vibe. update with a make or aBuildscript before scanning. π
parserβ set a list of parsers (or parser tags)scan-perl-prereqs-nqliteuses. If this option is not set, the scanner uses:installedparsers by default.incβ add a list of additional@INCpathscan-perl-prereqs-nqlitelooks for private parsers.verboseβ print verbose messages.
π AUTHOR π
Kenichi Ishigaki, <ishigaki@cpan.org> π«Ά
π COPYRIGHT AND LICENSE π
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.
π okay that's the whole manual! source/version: perl v5.40.0; date: 2023-04-28. go scan those prereqs, bestie β periodt. π¦
π¦ where this page comes from
- epel 10: perl-Perl-PrereqScanner-NotQuiteLite 0.9917-1.el10_0 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms