scan-perl-prereqs
module for extracting prerequisites from Perl code
Install
- All systems
-
curl cmd.cat/scan-perl-prereqs.sh
- Debian
-
apt-get install libperl-prereqscanner-perl
- Ubuntu
-
apt-get install libperl-prereqscanner-perl
- Kali Linux
-
apt-get install libperl-prereqscanner-perl
- Fedora
-
dnf install perl-Perl-PrereqScanner
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libperl-prereqscanner-perl
- Raspbian
-
apt-get install libperl-prereqscanner-perl
- Dockerfile
- dockerfile.run/scan-perl-prereqs
libperl-prereqscanner-perl
module for extracting prerequisites from Perl code
Perl::PrereqScanner is a Perl module that extracts distribution prerequisites from files through various means. The extraction is not perfect but provides a best-guess approximation. It currently detects the following: * plain lines beginning with use or require in perl modules and scripts * regular inheritance declared with the base and parent pragmata * Moose inheritance declared with the extends keyword * Moose roles included with the with keyword