From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
12345678910111213 package TestApp::Controller::Log;use strict;use base 'Catalyst::Controller';sub debug :Local { my ( $self, $c ) = @_; $c->log->debug('debug'); $c->res->body( 'logged' );}1;
package
TestApp::Controller::Log;
use
strict;
base
'Catalyst::Controller'
;
sub
debug :Local {
my
(
$self
,
$c
) =
@_
->
log
->debug(
'debug'
);
->res->body(
'logged'
}
1;