This is a short code snippet to create easily modifiable html templates for use in your perl cgis. Hate having to place all the print statements in your program and having to escape all those quotes? Would you like to give the ability for people who don't know how to program in perl to customize the output of your cgis? Templates are the answer.
This article describes a simple and effective method to format a CGI script's output from HTML templates, by replacing special template directives with dynamic content on the fly.