- get
- start
- render
Hello World
examples/lite/hello_world.pl
use Mojolicious::Lite; get '/' => { text => 'Hello World' }; app->start;
morbo hello_world.pl
- Visit http://127.0.0.1:3000/
- Look at the console
- Visit http://127.0.0.1:3000/other to see the error
- Look at the console