1MooseX::Declare::SyntaxU:s:eErmpCtoynMBtolrooiscbekuXIt:fe:MdDiesPcseliranlrge(D:3o:pcSmuy)mnetnatxa:t:iEomnptyBlockIfMissing(3pm)
2
3
4

NAME

6       MooseX::Declare::Syntax::EmptyBlockIfMissing - Handle missing blocks
7       after keywords
8

VERSION

10       version 0.43
11

DESCRIPTION

13       The MooseX::Declare::Syntax::NamespaceHandling role will require that
14       the consumer handles the case of non-existent blocks. This role will
15       inject an empty block with only the generated code parts in it.
16

METHODS

18   handle_missing_block
19         Object->handle_missing_block (Object $context, Str $body, %args)
20
21       This will inject the generated code surrounded by "{ ... }" into the
22       code where the keyword was called.
23

SEE ALSO

25       ·   MooseX::Declare
26
27       ·   MooseX::Declare::Syntax::NamespaceHandling
28

AUTHOR

30       Florian Ragwitz <rafl@debian.org>
31
33       This software is copyright (c) 2008 by Florian Ragwitz.
34
35       This is free software; you can redistribute it and/or modify it under
36       the same terms as the Perl 5 programming language system itself.
37
38
39
40perl v5.30.1                 Moose2X0:2:0D-e0c1l-a3r0e::Syntax::EmptyBlockIfMissing(3pm)
Impressum