NAME
Path::Router::Route::Match - The result of a Path::Router match
DESCRIPTION
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.
METHODS
- new
- path
-
This is the path that was matched.
- mapping
-
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.
- route
-
This is the Path::Router::Route instance that was matched.
- target
-
This method simply delegates to the
target
method of theroute
that was matched. - meta
BUGS
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.
AUTHOR
Stevan Little <stevan.little@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2008-2009 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.