Path::Map::Match - Match object for Path::Map
This object contains the match state from a Path::Map lookup.
The constructor. Should not be called directly, these objects should always be instantiated via "lookup" in Path::Map.
The handler that this match points to. This is identical to whatever was originally passed to "add_handler" in Path::Map.
A hashref of variables matched against the path.
For example given the path_template root/:var, a path root/foo would yield a result of { var => 'foo' }.
root/:var
root/foo
{ var => 'foo' }
An arrayref of variable values, without names, in the order in which they appeared in the path.
The Path::Map object which matched, this is normally an object nested inside the main "root" mapper.
Matt Lawrence <mattlaw@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Path::Map, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Path::Map
CPAN shell
perl -MCPAN -e shell install Path::Map
For more information on module installation, please visit the detailed CPAN module installation guide.