# Automatically enables "strict", "warnings", "utf8" and Perl 5.16 features use Mojolicious::Lite -signatures; # Route with placeholder get '/' => sub ($c) { my $foo = $c->param('foo'); $c->render(text => "Hello from $foo."); run_main_program(); }; # Start the Mojolicious command system app->start;