Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Module-Path | Distribution: openSUSE:Factory:zSystems |
Version: 0.19 | Vendor: openSUSE |
Release: 1.40 | Build date: Mon Apr 13 19:41:57 2015 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 34345 | Source RPM: perl-Module-Path-0.19-1.40.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/Module-Path/ | |
Summary: get the full path to a locally installed module |
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 The 'module_path()' function will also cope if the module name includes '.pm'; this means you can pass a partial path, such as used as the keys in '%INC': module_path('Test/More.pm') eq $INC{'Test/More.pm'} The above is the basis for one of the tests.
Artistic-1.0 or GPL-1.0+
* Mon Apr 13 2015 coolo@suse.com - updated to 0.19 see /usr/share/doc/packages/perl-Module-Path/Changes * Tue Jul 30 2013 coolo@suse.com - initial package 0.09 * created by cpanspec 1.78.06
/usr/bin/mpath /usr/lib/perl5/vendor_perl/5.40.0/Module /usr/lib/perl5/vendor_perl/5.40.0/Module/Path.pm /usr/share/doc/packages/perl-Module-Path /usr/share/doc/packages/perl-Module-Path/Changes /usr/share/doc/packages/perl-Module-Path/LICENSE /usr/share/doc/packages/perl-Module-Path/README /usr/share/doc/packages/perl-Module-Path/TODO.md /usr/share/man/man1/mpath.1.gz /usr/share/man/man3/Module::Path.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Sep 6 00:45:36 2024