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

MooseX::Declare::Syntax::InnerSyntaxHandling3pm

Keywords inside blocks

Version

version 0.43

Overview

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

Methods

default_inner

  ArrayRef[Object] Object->default_inner ()

Returns an empty "ArrayRef" by default. If you want to setup additional keywords you will have to "around" this method.

setup_inner_for

  Object->setup_inner_for(ClassName $class, %args)

Sets up all handlers in the inner class.

Required methods

get_identifier

  Str get_identifier ()

Required to return the name of the identifier of the current handler.

Modified methods

setup_for

  Object->setup_for(ClassName $class, %args)

After the keyword is setup inside itself, this will call "setup_inner_for".

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.