Mojolicious

Mojolicious is a modern perl web framework available on different platforms. A mojolicious controller uses renderer, routes, templates to generate a view of dynamic web sites.

Templates

Mojolicious templates are files, heredocs or data sections written in the embedded perl ep template language. The ep language uses static html markup and embedded perl code. The syntax is described on the Mojolicious Homepage. The man page Mojolicious::Guides::Growing has an overview how to start a application.

# man Mojolicious Mojo::Template
# man Mojolicious::Guides::Growing Mojolicious::Guides::Cookbook
use Mojolicious::Lite;

get '/hello';

# Minimal "Hello World" application with template for profiling
app->start;

# man data Mojo::Loader
__DATA__

@@ hello.html.ep
Hello World!

Examples

There are more examples on ynon pereks webpage.