-use CatalystX::Declarative;
+use CatalystX::Declare;
role MyActionYes {
around match (@args) { $ENV{TESTAPP_ACTIONROLE} ? $self->$orig(@args) : undef }
$ctx->forward('not_really_here');
$ctx->response->body($ctx->stash->{foo});
}
+
+
+ #
+ # chain target specified via action
+ #
+
+ action pointed <- base ($what) is final { $ctx->response->body("Your $what is pointed!") }
}