NAME
AXP::ModuleFinder - find all Arch related perl modules
SYNOPSIS
use AXP::ModuleFinder; my $finder = AXP::ModuleFinder->new; my %modules = $finder->find_modules;
while (my ($class, $file) = each %modules) { print "$class -> $file\n"; }
my $modules = $finder->find_modules_with_pod; $modules = $finder->find_modules([ "Arch", "ArchWay" ]);
DESCRIPTION
This class helps to find all Arch related perl modules in the include directories, i.e. their names and locations on the disk.
METHODS
- find_modules [limit]
- Return hash (or hashref in scalar context) of all visible perl modules. The hash pairs are module_class => module_file_name.
-
By default the limit is [``Arch'', ``AXP'', ``ArchZoom'', ``ArchWay''], but you may supply another limit that is arrayref of perl class sections.
- find_modules_with_pod [limit] [remove]
- The same as find_modules, but only returns modules that have inline documentation. If remove flag is set then the modules without the pod are removed, otherwise (by default) their file value is set to undef.
AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/axp--devel)
SEE ALSO
For more information, see axp.
Return to: index