NAME
fetch-reqs.pl
VERSION
version 0.2.0
NAME
fetch-reqs.pl - install prerequisite modules for a Perl script with minimal prerequisites for this tool
USAGE
fetch-reqs.pl [--debug] [--quiet] [--notest] filename|module [...]
cat req-list.txt | fetch-reqs.pl [--debug] [--quiet] [--notest]
OPTIONS
The files listed on the command line should either be file names of Perl scripts or modules to scan for dependencies, or names of Perl modules to load. Each file's Perl module dependencies or each named Perl module will be installed by Sys::OsPackage using operating system packages if available, or otherwise via CPAN.
Sys::OsPackage currently contains OS packaging drivers for Fedora/RHEL/CentOS, Debian/Ubuntu, SuSE/OpenSuSE, Arch and Alpine Linux and their derivatives. More drivers can be added by creating new subclasses of Sys::OsPackage::Driver.
EXIT STATUS
Standard Unix program exit codes are used: 0 if no error, 1 if error.
SEE ALSO
Sys::OsRelease is used by Sys::OsPackage to detect the operating system by its ID. For Linux distributions, it also uses ID_LIKE data to detect common distirbutions it is derived from. For example, Linux distributions derived from Debian or Red Hat are not all known, but are recognizable with ID_LIKE.
GitHub repository for Sys::OsPackage: https://github.com/ikluft/Sys-OsPackage
BUGS AND LIMITATIONS
Please report bugs via GitHub at https://github.com/ikluft/Sys-OsPackage/issues
Patches and enhancements may be submitted via a pull request at https://github.com/ikluft/Sys-OsPackage/pulls
LICENSE INFORMATION
Copyright (c) 2022 by Ian Kluft
This module is distributed in the hope that it will be useful, but it is provided “as is” and without any express or implied warranties. For details, see the full text of the license in the file LICENSE or at https://www.perlfoundation.org/artistic-license-20.html.
AUTHOR
Ian Kluft <cpan-dev@iankluft.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2022 by Ian Kluft.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)