Path to this page:
./
filesystems/p5-Module-Path,
Perl5 module to get the full path to a locally installed module
Branch: pkgsrc-2016Q2,
Version: 0.19nb1,
Package name: p5-Module-Path-0.19nb1,
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 build:[
devel/p5-Devel-FindPerl]
Master sites: (Expand)
SHA1: dcab78260e8c4ee1d3f9e17ea64093e95f181f85
RMD160: 3151dcaa78e18917e21511d6eb8a9c390daf0d51
Filesize: 13.992 KB
Version history: (Expand)
- (2016-07-07) Package has been reborn
- (2016-07-06) Package added to pkgsrc.se, version p5-Module-Path-0.19nb1 (created)