Path to this page:
./
filesystems/p5-Module-Path,
Perl5 module to get the full path to a locally installed module
Branch: CURRENT,
Version: 0.19nb9,
Package name: p5-Module-Path-0.19nb9,
Maintainer: pkgsrc-usersModule::Path provides a single function, module_path(), which will find
where a module is installed locally.
It works by looking in all the directories in @INC for an appropriately
named file:
* Foo::Bar becomes Foo/Bar.pm, using the correct directory path
separator for your operating system.
* Iterate over @INC, ignoring any references (see "require" in
"perlfunc" if you're surprised to hear that you might find references
in @INC).
* For each directory in @INC, append the partial path (Foo/Bar.pm),
again using the correct directory path separator. If the resulting
file exists, return this path.
* If no file was found, return undef.
Required to run:[
lang/perl5]
Required to build:[
devel/p5-Devel-FindPerl] [
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 13.992 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Module-Path-0.19nb9
- (2023-07-06) Updated to version: p5-Module-Path-0.19nb8
- (2022-06-28) Updated to version: p5-Module-Path-0.19nb7
- (2021-05-25) Updated to version: p5-Module-Path-0.19nb6
- (2020-09-01) Updated to version: p5-Module-Path-0.19nb5
- (2019-08-11) Updated to version: p5-Module-Path-0.19nb4
CVS history: (Expand)