Path::Router::Route::Match
ATTRIBUTES
path
has Str $.path
This is the path that was matched.
mapping
has %.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
has Path::Router::Route $.route
This is the Path::Router::Route instance that was matched.
METHODS
method target
method target(--> Any)
This method simply delegates to the target
method of the route
that was matched.
AUTHOR
Andrew Sterling Hanenkamp <[email protected]>
Based very closely on the original Perl 5 version by Stevan Little <[email protected]>
COPYRIGHT
Copyright 2015 Andrew Sterling Hanenkamp.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.