The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::iperlmoddir::Utils

VERSION

version 1.02

get_inspected_modules_list

Get list of perl modules (files with .pm extension ) in particular dir

Do not parse subdirectories

Return list of files without .pm ending

TO-DO: pass 'GLOB' for convenient unit testing or use Dir::ls z

parse_modules

Parse modules using Module::Info (no Class::Inspector)

Return list, each element is hash with following keys: name, subs, used, consts

Keys subs, used, consts store arrayref

$files are always without basepath

AUTHOR

Pavel Serikov <pavelsr@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Pavel Serikov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.