Perl::Analysis::Static::ModuleLister - list all module below a namespace
This class searches for modules of a given prefix in the namespace Perl::Analysis::Static.
Is main purpose is to give programs an easy way to show the user possible arguments.
perlanalst uses it for its option
String defining what 'kind' of module you want to find. Reasonable values are 'Question', 'Filter', and 'Analysis' since there are actually modules in the according namespace.
Searches for modules that live in the namespace Perl::Analysis::Static::KIND.
KIND is the attribute
Returns reference to a list with the names of the modules (with the Perl::Analysis::Static::KIND removed), or undef if there are no modules in this namespace.
# find out what questions may be called my $ml = Perl::Analysis::Static::ModuleLister->new(kind => 'Question'); my $questions=$ml->list();
Gregor Goldbach <firstname.lastname@example.org>
This software is copyright (c) 2011 by Gregor Goldbach.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.