Devel::ModInfo::Constructor

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.

SYNOPSIS

Not meant to be used outside the ModInfo system.

DESCRIPTION

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.

AUTHOR

jtillman@bigfoot.com

tcushard@bigfoot.com

SEE ALSO

Devel::ModInfo::Tutorial Devel::ModInfo::Function

perl(1).