Scroll to navigation

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


Catalyst::DispatchType::Path - Path DispatchType


See Catalyst::DispatchType.


Dispatch type managing full path matching behaviour. For more information on dispatch types, see:

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



Debug output for Path dispatch points

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

For each action registered to this exact path, offers the action a chance to match the path (in the order in which they were registered). Succeeds on the first action that matches, if any; if not, returns 0.

$self->register( $c, $action )

Calls register_path for every Path attribute for the given $action.

$self->register_path($c, $path, $action)

Registers an action at a given path.

$self->uri_for_action($action, $captures)

get a URI part for an action; always returns undef is $captures is set since Path actions don't have captures


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