envpath
Perl module implementing advanced operations on path variables
Install
- All systems
-
curl cmd.cat/envpath.sh
- Debian
-
apt-get install libenv-path-perl - Ubuntu
-
apt-get install libenv-path-perl - Kali Linux
-
apt-get install libenv-path-perl - Fedora
-
dnf install perl-Env-Path - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install libenv-path-perl - Raspbian
-
apt-get install libenv-path-perl
libenv-path-perl
Perl module implementing advanced operations on path variables
Env::Path presents an object-oriented interface to path variables, defined as that subclass of environment variables which name an ordered list of filesystem elements separated by a platform-standard separator. Env::Path is for cases where you need to insert or remove interior path entries, strip redundancies, operate on a path variable without having to know whether the current platform uses ":" or ";", operate on a path variable which may have a different name on different platforms, etc.