Devel::ModInfo::Constructor - Defines a function in an object-oriented Perl module that is expected to create and return an instance of the module class.
Not meant to be used outside the ModInfo system.
Devel::ModInfo::Constructor is a specialized version of Devel::ModInfo::Function which is expected to return an instance of the module class in which it is defined. The presence of a constructor is one of the things that distinguishes an object-oriented module from a non-oo module.
jtillman@bigfoot.com
tcushard@bigfoot.com
Devel::ModInfo::Tutorial Devel::ModInfo::Function
perl(1).
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.