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.
ModInfo currently has problems with mfo files that define more than one module.
https://github.com/neilbowers/Devel-ModInfo
jtillman@bigfoot.com tcushard@bigfoot.com
Devel::ModInfo::Tutorial
pl2modinfo.pl
modinfo2xml.pl
modinfo2html.pl
perl(1).
This software is copyright (c) 2002 by James Tillman <jtillman@bigfoot.com>
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 1.0.
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.