perlver
module to determine minimum required version of perl required
Install
- All systems
-
curl cmd.cat/perlver.sh
- Debian
-
apt-get install libperl-minimumversion-perl
- Ubuntu
-
apt-get install libperl-minimumversion-perl
- Kali Linux
-
apt-get install libperl-minimumversion-perl
- CentOS
-
yum install perl-Perl-MinimumVersion
- Fedora
-
dnf install perl-Perl-MinimumVersion
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libperl-minimumversion-perl
- Raspbian
-
apt-get install libperl-minimumversion-perl
- Dockerfile
- dockerfile.run/perlver
libperl-minimumversion-perl
module to determine minimum required version of perl required
Perl::MinimumVersion is a module that inspects arbitrary Perl source code and determines the minimum version of perl required to be able to run it. Because it is based on PPI, it can do this without having to actually load the code. Currently it tests both the syntax of your code, and the use of explicit version dependencies such as "require 5.005". Future plans are to also add support for tracing module dependencies.