[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/filesystems/p5-Module-Path
Module Name: pkgsrc
Committed By: sno
Date: Wed Jul 3 15:06:36 UTC 2013
pkgsrc/filesystems/p5-Module-Path: DESCR Makefile distinfo
Adding package for CPAN distribution Module-Path version 0.09 into
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
* 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
* 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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/filesystems/p5-Module-Path/DESCR \
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |