1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/opt/perl use Mojolicious::Lite; get '/' => sub { my $c = shift; $c->render(text => "Hi"); }; app->start; __DATA__ @@ joy.txt And then there was joy.
You can clone a snippet to your computer for local editing. Learn more.