in reply to Perl and Mason

Dancer is a lightweight web-app which uses either DBI or DBIx::Class for database connectivity and can render your pages through its own simple internal templating engine or through Template::Toolkit.

Dancer::Template::Mason and Dancer::Template::Mason2 installs Mason or Mason2 as the templating engine.

If you want simple check it out!

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James