---
name: "Catalyst::ActionContainer"
section: "3pm"
platform: "linux"
package: "libcatalyst-perl"
version: "5.90132-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catalyst::ActionContainer"
---

# Catalyst::ActionContainer(3pm)

Catalyst Action Container

## NAME

Catalyst::ActionContainer - Catalyst Action Container

## SYNOPSIS

See Catalyst.

## DESCRIPTION

This is a container for actions. The dispatcher sets up a tree of these to represent the various dispatch points in your application.

## METHODS

### new(\\%data \| $part)

Can be called with { part =\> `$part`, actions =\> \\%actions } for full construction or with just a part, which will result in an empty actions hashref to be populated via add\_action later

### get\_action($name)

Returns an action from this container based on the action name, or undef

### add\_action($action, \[ $name \])

Adds an action, optionally providing a name to override `$action`-\>name

### actions

Accessor to the actions hashref, containing all actions in this container.

### part

Accessor to the path part this container resolves to. Also what the container stringifies to.

### meta

Provided by Moose

## AUTHORS

Catalyst Contributors, see Catalyst.pm

## COPYRIGHT

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
