MojoX::Dispatcher::Routes::Controller(3pm)

MojoX::Dispatcher::Routes::Controller3pm

Controller base class

Usage

    use base 'MojoX::Dispatcher::Routes::Controller';

Overview

MojoX::Dispatcher::Routes::Controller is a controller base class.

Attributes

MojoX::Dispatcher::Routes::Controller inherits all attributes from MojoX::Session::Cookie::Controller implements the following attributes.

"match"

    my $m = $c->match;

A MojoX::Routes::Match object containing the routes results for the current request.

Methods

MojoX::Dispatcher::Routes::Controller inherits all methods from MojoX::Session::Cookie::Controller and implements the following new ones.

"param"

    my $param  = $c->param('foo');
    my @params = $c->param('foo');

Request parameters and routes captures.

From libmojolicious-perl 0.999926-1+squeeze2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.