How to Install and Uninstall perl-Module-Path Package on openSuSE Tumbleweed
Last updated: December 24,2024
1. Install "perl-Module-Path" package
Learn how to install perl-Module-Path on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Module-Path
Copied
2. Uninstall "perl-Module-Path" package
This is a short guide on how to uninstall perl-Module-Path on openSuSE Tumbleweed:
$
sudo zypper remove
perl-Module-Path
Copied
3. Information about the perl-Module-Path package on openSuSE Tumbleweed
Information for package perl-Module-Path:
-----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Module-Path
Version : 0.19-1.31
Arch : noarch
Vendor : openSUSE
Installed Size : 33.5 KiB
Installed : No
Status : not installed
Source package : perl-Module-Path-0.19-1.31.src
Upstream URL : http://search.cpan.org/dist/Module-Path/
Summary : get the full path to a locally installed module
Description :
This module provides a single function, 'module_path()', which takes a
module name and finds the first directory in your '@INC' path where the
module is installed locally. It returns the full path to that file,
resolving any symlinks. It is portable and only depends on core modules.
It works by looking in all the directories in '@INC' for an appropriately
named file:
I wrote this module because I couldn't find an alternative which dealt with
the points listed above, and didn't pull in what seemed like too many
dependencies to me.
The distribution for 'Module::Path' includes the 'mpath' script, which lets
you get the path for a module from the command-line:
% mpath Module::Path
The 'module_path()' function will also cope if the module name includes
'.pm'; this means you can pass a partial path, such as used as the keys in
'%INC':
module_path('Test/More.pm') eq $INC{'Test/More.pm'}
The above is the basis for one of the tests.
-----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Module-Path
Version : 0.19-1.31
Arch : noarch
Vendor : openSUSE
Installed Size : 33.5 KiB
Installed : No
Status : not installed
Source package : perl-Module-Path-0.19-1.31.src
Upstream URL : http://search.cpan.org/dist/Module-Path/
Summary : get the full path to a locally installed module
Description :
This module provides a single function, 'module_path()', which takes a
module name and finds the first directory in your '@INC' path where the
module is installed locally. It returns the full path to that file,
resolving any symlinks. It is portable and only depends on core modules.
It works by looking in all the directories in '@INC' for an appropriately
named file:
I wrote this module because I couldn't find an alternative which dealt with
the points listed above, and didn't pull in what seemed like too many
dependencies to me.
The distribution for 'Module::Path' includes the 'mpath' script, which lets
you get the path for a module from the command-line:
% mpath Module::Path
The 'module_path()' function will also cope if the module name includes
'.pm'; this means you can pass a partial path, such as used as the keys in
'%INC':
module_path('Test/More.pm') eq $INC{'Test/More.pm'}
The above is the basis for one of the tests.