Devel::ModInfo - provides metadata about a module's methods, properties, and arguments
use ModInfo; my $mi = Devel::ModInfo->new('Data::Dumper'); my @functions = $mi->function_descriptors(); my (@methods, @properties); if ($mi->is_oo) { @methods = $mi->method_descriptors; @properties = $mi->property_descriptors(); }
Devel::ModInfo will use a previously created XML file (with the extension .mfo) to generate a data structure that describes the interface for a Perl module.
The Devel::ModInfo system is made up of several object-oriented modules which are all used exclusively by the ModInfo module. This means that the developer should only ever need to directly instantiate the Devel::ModInfo object with the class name of the desired module.
1 POD Error
The following errors were encountered while parsing the POD:
'=end ModInfo interface' is invalid. (Stack: =begin ModInfo)
To install Devel::ModInfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::ModInfo
CPAN shell
perl -MCPAN -e shell install Devel::ModInfo
For more information on module installation, please visit the detailed CPAN module installation guide.