LPM: template suggestions

Matt Cashner sungo at qx.net
Tue Feb 6 12:33:57 CST 2001


On Tue, 6 Feb 2001, Gregg Casillo wrote:

> My name is Gregg Casillo, and I'm a Text::Template user too. Seriously, 
> it is a good module to work with. One caveat I have when using templates 
> in CGI scripts is server side includes in HTML files. Don't use SSI's in 
> HTML pages you use as Text::Templates or you'll go looking for the 
> nearest pike to impale yourself on.

cgi output in general, at least with apache, shouldnt contain ssi
directives. reason being that apache parses ssi stuff long before the cgi
is ever run. sounds silly but its true.

m.




More information about the Lexington-pm mailing list