Scroll to navigation

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


Catalyst::DispatchType::Default - Default DispatchType


See Catalyst::DispatchType.


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.


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


Catalyst Contributors, see


This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

2020-09-13 perl v5.30.3