The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catalyst::Action - Catalyst Action

SYNOPSIS

See Catalyst.

DESCRIPTION

This class represents a Catalyst Action. You can access the object for the currently dispatched action via $c->action

METHODS

attributes

The sub attributes that are set for this action, like Local, Path, Private and so on.

class

Returns the class name of this action

code

Returns a code reference to this action

dispatch( $c )

Dispatch this action against a context

execute( $controller, $c, @args )

Execute this action's coderef against a given controller with a given context and arguments

match( $c )

Check Args attribute, and makes sure number of args matches the setting.

namespace

Returns the private namespace this action lives in.

reverse

Returns the private path for this action.

name

returns the sub name of this action.

AUTHOR

Matt S. Trout

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.