1MooseX::Declare::SyntaxU:s:eIrnnCeornStyrMniotboausxteHeXad:n:dPDleeircnllga(Dr3oe)c:u:mSeynnttaatxi:o:nInnerSyntaxHandling(3)
2
3
4

NAME

6       MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks
7

DESCRIPTION

9       This role allows you to setup keyword handlers that are only available
10       inside blocks or other scoping environments.
11

ATTRIBUTES

13   inner
14       An "ArrayRef" of keyword handlers that will be setup inside the built
15       scope. It is initialized by the "default_inner" method.
16

REQUIRED METHODS

18   get_identifier
19         Str get_identifier ()
20
21       Required to return the name of the identifier of the current handler.
22

METHODS

24   default_inner
25         ArrayRef[Object] Object->default_inner ()
26
27       Returns an empty "ArrayRef" by default. If you want to setup additional
28       keywords you will have to "around" this method.
29
30   setup_inner_for
31         Object->setup_inner_for(ClassName $class, %args)
32
33       Sets up all handlers in the "inner" attribute.
34

MODIFIED METHODS

36   setup_for
37         Object->setup_for(ClassName $class, %args)
38
39       After the keyword is setup inside itself, this will call
40       "setup_inner_for".
41

SEE ALSO

43       ·   MooseX::Declare
44
45       ·   MooseX::Declare::Syntax::NamespaceHandling
46
47       ·   MooseX::Declare::Syntax::MooseSetup
48
50       See MooseX::Declare
51
52
53
54perl v5.12.1                   Moo2s0e0X9:-:0D9e-c0l4are::Syntax::InnerSyntaxHandling(3)
Impressum