in reply to Re: Re: Simplifying repetitive flow structures
in thread Simplifying repetitive flow structures

HTML::Template works great under mod_perl. Look in the FAQ section of the docs and set cache/shared_cache in the call to HTML::Template->new. If HTML::Template doesn't cut it then Template Toolkit (or here) is more powerful has support for expressions amongst things. Code/HTML seperation for me is not just a "good thing" it is a business critical thing. Generating HTML with CGI.pm just doesn't cut it in 2002.

I gave a answer for the question you asked. I can only work with the information you gave, and I thought I covered all the bases. Maybe you need to re-think the design? Poor implementations are normally a symptom of bad design.

gav^

  • Comment on Re: Re: Re: Simplifying repetitive flow structures

Replies are listed 'Best First'.
Re: Re: Re: Re: Simplifying repetitive flow structures
by jbisbee (Pilgrim) on Apr 01, 2002 at 14:19 UTC
    We're currently using the HTML::Template caching under Fast CGI and it works great. You read all the templates in when the server starts and it makes everything a little snappier.

    -biz-