MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks
This role allows you to setup keyword handlers that are only available inside blocks or other scoping environments.
An ArrayRef of keyword handlers that will be setup inside the built scope. It is initialized by the "default_inner" method.
ArrayRef
Str get_identifier ()
Required to return the name of the identifier of the current handler.
ArrayRef[Object] Object->default_inner ()
Returns an empty ArrayRef by default. If you want to setup additional keywords you will have to around this method.
around
Object->setup_inner_for(ClassName $class, %args)
Sets up all handlers in the "inner" attribute.
Object->setup_for(ClassName $class, %args)
After the keyword is setup inside itself, this will call "setup_inner_for".
MooseX::Declare
MooseX::Declare::Syntax::NamespaceHandling
MooseX::Declare::Syntax::MooseSetup
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.