MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks
Contents
Copyright And License
This software is copyright (c) 2008 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.34.0 2022-06-15 MooseX::Declare...rSyntaxHandling(3pm)
Description
This role allows you to setup keyword handlers that are only available inside blocks or other scoping
environments.
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 class.
Modified Methods
setup_for
Object->setup_for(ClassName $class, %args)
After the keyword is setup inside itself, this will call "setup_inner_for".
Name
MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks
Required Methods
get_identifier
Str get_identifier ()
Required to return the name of the identifier of the current handler.
See Also
• MooseX::Declare
• MooseX::Declare::Syntax::NamespaceHandling
• MooseX::Declare::Syntax::MooseSetup
Version
version 0.43
