- Name: perl-Module-Path
- Version: 0.19
- Release: 2
- Epoch:
- Group: Development/Languages/Perl
- License: GPL v1+ or Artistic
- Url: https://metacpan.org/release/Module-Path
- Summary: Module::Path - get the full path to a locally installed module
- Architecture: noarch
- Size: 16603
- Distribution: PLD 3.0 (Th)
- Vendor: PLD
- Packager: PLD bug tracking system ( http://bugs.pld-linux.org/ )
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
- OptFlags:
- Cookie: ep09-pld 1598202112
- Buildhost: ep09-pld