Scroll to navigation

Catalyst::DispatchType::Default(3pm) User Contributed Perl Documentation Catalyst::DispatchType::Default(3pm)

NAME

Catalyst::DispatchType::Default - Default DispatchType

SYNOPSIS

See Catalyst::DispatchType.

DESCRIPTION

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

$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

Catalyst Contributors, see Catalyst.pm

COPYRIGHT

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
2019-01-19 perl v5.28.1