modules-used

library to detect modules loaded by Perl code without running it

Install

All systems
curl cmd.cat/modules-used.sh
Debian Debian
apt-get install libmodule-used-perl
Ubuntu
apt-get install libmodule-used-perl
image/svg+xml Kali Linux
apt-get install libmodule-used-perl
Fedora
dnf install perl-Module-Used
Windows (WSL2)
sudo apt-get update sudo apt-get install libmodule-used-perl
Raspbian
apt-get install libmodule-used-perl

libmodule-used-perl

library to detect modules loaded by Perl code without running it

Module::Used is a Perl module that does static analysis of arbitrary Perl code, looking for use and require statements to determine what modules are required by the code. It also knows about Moose and Moose::Role, so it can determine appropriate dependencies in that case too.

perl-Module-Used

running it