SHARYANTO::ModuleOrPrefix::Path(3pm)

SHARYANTO::ModuleOrPrefix::Path3pm

Get the full path to a locally installed module or prefix

Usage

 use SHARYANTO::ModuleOrPrefix::Path qw(module_or_prefix_path);
 say module_or_prefix_path('Test::More');  # "/path/to/Test/More.pm"
 say module_or_prefix_path('Test');        # "/path/to/Test.pm"
 say module_or_prefix_path('File::Slurp'); # "/path/to/File/Slurp.pm"
 say module_or_prefix_path('File');        # "/path/to/File/"
 say module_or_prefix_path('Foo');         # undef

Version

version 0.67

Overview

The code is based on Neil Bower's Module::Path.

Functions

module_or_prefix_path(MODULE) => STR

Homepage

Please visit the project's homepage at <https://metacpan.org/release/SHARYANTO-Utils>.

Source

Source repository is at <https://github.com/sharyanto/perl-SHARYANTO-Utils>.

Bugs

Please report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=SHARYANTO-Utils>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Author

Steven Haryanto <[email protected]>

From libsharyanto-utils-perl 0.67-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.