Rechercher une page de manuel
MooseX::Declare::Syntax::EmptyBlockIfMissing.3pm
Langue: en
Version: 2009-09-04 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
MooseX::Declare::Syntax::EmptyBlockIfMissingDESCRIPTION
The MooseX::Declare::Syntax::NamespaceHandling role will require that the consumer handles the case of non-existant blocks. This role will inject an empty block with only the generated code parts in it.METHODS
handle_missing_block
Object->handle_missing_block (Object $context, Str $body, %args)
This will inject the generated code surrounded by "{ ... }" into the code where the keyword was called.
SEE ALSO
- *
- MooseX::Declare
- *
- MooseX::Declare::Syntax::NamespaceHandling
AUTHOR, COPYRIGHT & LICENSE
See MooseX::DeclareContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre