Catalyst::DispatchType::Default - Default DispatchType


Catalyst-Runtime documentation  | view source Contained in the Catalyst-Runtime distribution.

Index


NAME

Top

Catalyst::DispatchType::Default - Default DispatchType

SYNOPSIS

Top

See Catalyst::DispatchType.

DESCRIPTION

Top

Dispatch type managing default behaviour. For more information on dispatch types, see:

* Catalyst::Manual::Intro for how they affect application authors
* Catalyst::DispatchType for implementation information.

METHODS

Top

$self->match( $c, $path )

If path is empty (i.e. all path parts have been converted into args), attempts to find a default for the namespace constructed from the args, or the last inherited default otherwise and will match that.

If path is not empty, never matches since Default will only match if all other possibilities have been exhausted.

AUTHORS

Top

Catalyst Contributors, see Catalyst.pm

COPYRIGHT

Top


Catalyst-Runtime documentation  | view source Contained in the Catalyst-Runtime distribution.