On Wed, 2003-10-08 at 08:29, Tosh Cooey wrote: > The SSI approach would have to parse all .html as well as all .pl : > .html > <html> > stuff... > <!--#include virtual="/menu.cgi" --> > </html> > > .tt/.cgi > <html> > stuff... > [% TTfun %] > <!--#include virtual="/menu.cgi" --> > </html>
If you aren't using mod_perl 2, it's going to be a pain to get your CGI output processed for SSI calls, but it can be done with the help of Apache::Filter or one of the CGI+SSI modules on CPAN. > The CGI/TT approach would have to treat all HTML documents as templates That's the problem right there: all of your static HTML will get sucked into every mod_perl process and you'll end up chewing through all your RAM. For this reason, the first approach is better. - Perrin _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
