mpath

module to get the full path to a locally installed Perl module

Install

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

libmodule-path-perl

module to get the full path to a locally installed Perl module

Module::Path provides a single function, module_path(), which takes a module name and finds the first directory in the @INC path where the module is installed locally. It returns the full path to that file, resolving any symlinks.

perl-Module-Path

module