controller TestApp::Controller::SignatureMatching {
+ method mark (Catalyst $ctx) {
+ $ctx->response->body( $ctx->action->reverse );
+ }
+
+
action base as 'sigmatch' under '/';
under base {
final action int (Int $x)
- as 'test' { $ctx->response->body( $ctx->action->reverse ) }
+ as test { $self->mark($ctx) }
final action str (Str $x where { /^[a-z]+$/ })
- as 'test' { $ctx->response->body( $ctx->action->reverse ) }
+ as test { $self->mark($ctx) }
final action rest (@)
- as '' { $ctx->response->body( $ctx->action->reverse ) }
+ as '' { $self->mark($ctx) }
}
}