Despite the old cooking adage, not everything is better when
made from scratch. In last month's
"The Perl You Need to Know Part 3:
Maintaining State,"
we touched on creating on-the-fly
HTML using
Perl and the
CGI module, though not the main focus of that article.
Typically, we use Perl to generate HTML when Web pages need
to be constructed live because they incorporate information
relevant to or provided by a particular visitor. This month
our focus swings squarely towards HTML output and the use of
Web templates in generating Web pages on-the-fly with Perl
scripts and the CGI module. This article assumes at least a
familiarity with Perl and the CGI module and, ideally, time
spent with the previous three parts of
"The Perl You Need to Know"
series.