mpath
module to get the full path to a locally installed Perl module
Install
- All systems
-
curl cmd.cat/mpath.sh
- Debian
-
apt-get install libmodule-path-perl
- Ubuntu
-
apt-get install libmodule-path-perl
- 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
- Dockerfile
- dockerfile.run/mpath
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.