Mason

See http://masonhq.com/ :

Mason is a powerful Perl-based web site development and delivery engine. With Mason you can embed Perl code in your HTML and construct pages from shared, reusable components.

The list of sites built with it shows that it's got some pretty serious real-world uses: http://masonhq.com/?MasonPoweredSites