The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
— — — — |
__PACKAGE__->config( namespace => '' );
sub index :Path :Args(0) {
my ( $self , $c ) = @_ ;
$c ->response->body( $c ->welcome_message );
}
sub default :Path {
my ( $self , $c ) = @_ ;
$c ->response->body( 'Page not found' );
$c ->response->status(404);
}
sub auto :Path :Args(0) {
my ( $self , $c ) = @_ ;
}
sub end : ActionClass( 'RenderView' ) { }
__PACKAGE__->meta->make_immutable;
1;
|