PERLANCAR::Module::List - A fork of Module::List
This document describes version 0.003005 of PERLANCAR::Module::List (from Perl distribution PERLANCAR-Module-List), released on 2016-03-17.
This module is a fork of Module::List 0.003. It's exactly like Module::List, except for the following differences:
lower startup overhead (with some caveats)
It strips the usage of Exporter, IO::Dir, Carp, File::Spec, with the goal of saving a few milliseconds (a casual test on my PC results in 11ms vs 39ms).
Path separator is hard-coded as /.
/
Recognize return_path option
return_path
Normally the returned hash has undef as the values. With this option set to true, the values will contain the path instead. Useful if you want to collect all the paths, instead of having to use Module::Path or Module::Path::More for each module again.
undef
Recognize all option
all
If set to true and return_path is also set to true, will return all found paths for each module instead of just the first found one. The values of result will be an arrayref containing all found paths.
Please visit the project's homepage at https://metacpan.org/release/PERLANCAR-Module-List.
Source repository is at https://github.com/perlancar/perl-PERLANCAR-Module-List.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=PERLANCAR-Module-List
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.
Module::List
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install PERLANCAR::Module::List, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PERLANCAR::Module::List
CPAN shell
perl -MCPAN -e shell install PERLANCAR::Module::List
For more information on module installation, please visit the detailed CPAN module installation guide.