---
name: "MooseX::Declare::Syntax::InnerSyntaxHandling"
section: "3pm"
platform: "linux"
package: "libmoosex-declare-perl"
version: "0.43-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MooseX::Declare::Syntax::InnerSyntaxHandling"
---

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

Keywords inside blocks

## NAME

MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks

## VERSION

version 0.43

## DESCRIPTION

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".

## SEE ALSO

- •

  MooseX::Declare

- •

  MooseX::Declare::Syntax::NamespaceHandling

- •

  MooseX::Declare::Syntax::MooseSetup

## AUTHOR

Florian Ragwitz \<rafl@debian.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
