Catalyst::DispatchType::Default.3pm

Langue: en

Version: 2007-09-20 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Catalyst::DispatchType::Default - Default DispatchType

SYNOPSIS

See Catalyst.

DESCRIPTION

METHODS


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


$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.

AUTHOR

Matt S Trout Sebastian Riedel, "sri@cpan.org" This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.