I have a Mojolicious controller that fires in response to different URL routes. For example, given the URL path:
/v1/users/:someid
and a controller that fires:
sub handle_request ($self) {
my $place_holder_name = $self->route->?????? # how can I get 'someid'?
is($place_holder_name, 'someid', 'can access the placeholder name');
}
How can I find out the name of the placeholder?