| Path-Dispatcher documentation | Contained in the Path-Dispatcher distribution. |
Path::Dispatcher::Rule::Always - always matches
Rules of this class always match. If a prefix match is requested, the full path is returned as leftover.
| Path-Dispatcher documentation | Contained in the Path-Dispatcher distribution. |
package Path::Dispatcher::Rule::Always; use Any::Moose; extends 'Path::Dispatcher::Rule'; sub _match { my $self = shift; my $path = shift; return { leftover => $path->path, }; } __PACKAGE__->meta->make_immutable; no Any::Moose; 1; __END__