MooseX::Declare::Syntax::Keyword::Method - Handle method declarations
This role is an extension of MooseX::Declare::Syntax::MethodDeclaration that allows you to install keywords that declare methods.
MooseX::Declare::Syntax::MethodDeclaration
Object->register_method_declaration (ClassName $class, Object $method)
This method required by the method declaration role will register the finished method object via the $class metaclass instance's add_method method.
$class
add_method
MooseX::Declare
MooseX::Declare::Syntax::MooseSetup
MooseX::Method::Signatures
See MooseX::Declare
To install MooseX::Declare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Declare
CPAN shell
perl -MCPAN -e shell install MooseX::Declare
For more information on module installation, please visit the detailed CPAN module installation guide.