1 use CatalystX::Declare;
3 component_role TestApp::TestRole {
5 method something_from_the_role { 23 }
7 final action action_from_ctrl_role under base {
8 $ctx->response->body($ctx->action->reverse);
11 after modifier_target (Object $ctx) {
12 $ctx->response->body(join ' ', $ctx->response->body, 'modified');
15 around surrounded_target (Object $ctx) {
16 $ctx->response->body('surrounded');