my $comment_ctrl = resolve( '/Controller/Comment' ); my $router = resolve( '/PSGI/Router' ); my $app = Senph::PSGI->new( comment_ctrl => $comment_ctrl, router => $router, ); return $app;