Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 0aa00dfe6ae9918c260c80c02a8f53f5

perl-Module-Path-0.19-2.noarch.rpm

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

Other version of this rpm: