Rechercher une page de manuel
MooseX::Declare::Syntax::InnerSyntaxHandling.3pm
Langue: en
Version: 2009-05-05 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocksDESCRIPTION
This role allows you to setup keyword handlers that are only available inside blocks or other scoping environments.ATTRIBUTES
inner
An "ArrayRef" of keyword handlers that will be setup inside the built scope. It is initialized by the ``default_inner'' method.REQUIRED METHODS
get_identifier
Str get_identifier ()
Required to return the name of the identifier of the current handler.
METHODS
default_inner
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.
setup_inner_for
Object->setup_inner_for(ClassName $class, %args)
Sets up all handlers in the ``inner'' attribute.
MODIFIED METHODS
setup_for
Object->setup_for(ClassName $class, %args)
After the keyword is setup inside itself, this will call ``setup_inner_for''.
SEE ALSO
- •
- MooseX::Declare
- •
- MooseX::Declare::Syntax::NamespaceHandling
- •
- MooseX::Declare::Syntax::MooseSetup
AUTHOR, COPYRIGHT & LICENSE
See MooseX::DeclareContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre