The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Catalyst::Dispatcher - The Catalyst Dispatcher

SYNOPSIS

See Catalyst.

DESCRIPTION

METHODS

$c->dispatch

Dispatch request to actions.

$c->forward($command)

Forward processing to a private action or a method from a class. If you define a class without method it will default to process().

    $c->forward('/foo');
    $c->forward('index');
    $c->forward(qw/MyApp::Model::CDBI::Foo do_stuff/);
    $c->forward('MyApp::View::TT');
$c->get_action( $action, $namespace, $inherit )

Get an action in a given namespace.

$c->set_action( $action, $code, $namespace, $attrs )

Set an action in a given namespace.

$class->setup_actions($component)

Setup actions for a component.

AUTHOR

Sebastian Riedel, sri@cpan.org

COPYRIGHT

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