NAME SHARYANTO::Dist::Util - Dist-related utilities VERSION This document describes version 0.03 of SHARYANTO::Dist::Util (from Perl distribution SHARYANTO-Dist-Util), released on 2014-07-02. SYNOPSIS use SHARYANTO::Dist::Util qw( packlist_for list_dist_modules ); say packlist_for("Text::ANSITable"); # sample output: /home/steven/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/auto/Text/ANSITable/.packlist my @mods = list_dist_modules("Text::ANSITable"); # -> ("Text::ANSITable", "Text::ANSITable::BorderStyle::Default", "Text::ANSITable::ColorTheme::Default") DESCRIPTION FUNCTIONS packlist_for($mod) => STR Find ".packlist" file for installed module $mod (which can be in the form of "Package::SubPkg" or "Package/SubPkg.pm"). Return undef if none is found. Depending on the content of @INC, the returned path may be absolute or relative. list_dist_modules($mod) => LIST Given installed module name $mod (which must be the name of the main module of its distribution), list all the modules in the distribution. This is done by first finding the ".packlist" file, then look at all the ".pm" files listed in the packlist. Will return empty list if fails to get the packlist. SEE ALSO SHARYANTO HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website 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 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.