Rechercher une page de manuel
MooseX::Declare::Syntax::EmptyBlockIfMissing.3pm
Langue: en
Version: 2009-05-29 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
MooseX::Declare::Syntax::EmptyBlockIfMissing - require that the consumer handles non-existant blocksDESCRIPTION
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