./filesystems/p5-Module-Path, Perl5 module to get the full path to a locally installed module

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q1, Version: 0.18, Package name: p5-Module-Path-0.18, Maintainer: pkgsrc-users

Module::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]

Master sites: (Expand)

SHA1: 85db98ba3f9741c75be1ae467c98811ddc2d56b2
RMD160: f87838c78f546e9e800c6d0132149a6c059c8013
Filesize: 13.552 KB

Version history: (Expand)