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>.
Copyright and license
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.