| Path-Router documentation | Contained in the Path-Router distribution. |
Path::Router::Route::Match - The result of a Path::Router match
This is the object returned from calling match on a Path::Router
instance. It contains all the information you would need to do any
dispatching nessecary.
This is the path that was matched.
This is the mapping of your router part names to the actual parts of the path. If your route had no "variables", then this will be an empty HASH ref.
This is the Path::Router::Route instance that was matched.
This method simply delegates to the target method of the route
that was matched.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan.little@iinteractive.com>
Copyright 2008-2011 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Path-Router documentation | Contained in the Path-Router distribution. |
package Path::Router::Route::Match; use Moose; our $VERSION = '0.10'; our $AUTHORITY = 'cpan:STEVAN'; has 'path' => (is => 'ro', isa => 'Str', required => 1); has 'mapping' => (is => 'ro', isa => 'HashRef', required => 1); has 'route' => ( is => 'ro', isa => 'Path::Router::Route', required => 1, handles => [qw[target]] ); __PACKAGE__->meta->make_immutable; no Moose; 1; __END__