This article describes a simple and effective method to format a CGI script's output from HTML templates. This is achieved simply by replacing special template directives with dynamic content in real time.

This is a code that assists in the creation of modifiable html templates that can be used in perl cgi. Templates provide the easy solution for those who do not know how to program in perl and yet want to customize the output of their cgis.