|
NAMERoutes::Tiny::Match - Matched objectSYNOPSISmy $match = $r->match('/foo/bar'); my $name = $match->name; my $params_hashref = $match->params; my $parent_match = $match->parent DESCRIPTIONRoutes::Tiny::Match is a Value Object that holds params of a matched route.ATTRIBUTES"name"my $name = $match->name; Get original route's pattern name. "arguments"my $arguments = $match->arguments; Get route's pattern arguments. "captures"my $hashref = $match->captures; Get params. "params"An alias to "captures"."parent"Reference to parent match in case of matching subroutes.METHODS"new"my $match = Routes::Tiny::Match->new; Create new instance of Routes::Tiny::Match.
Visit the GSP FreeBSD Man Page Interface. |