MooseX::Declare::Syntax::EmptyBlockIfMissing(3pm)

MooseX::Declare::Syntax::EmptyBlockIfMissing3pm

Handle missing blocks after keywords

Version

version 0.43

Overview

The MooseX::Declare::Syntax::NamespaceHandling role will require that the consumer handles the case of non-existent 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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12–13

Author

Florian Ragwitz <[email protected]>

From libmoosex-declare-perl 0.43-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.