On Mon, Jul 09, 2001 at 02:07:21PM -0400, Perrin Harkins took time to write:
> > I think that CGI::FastTemplate does all of that.
> > Please have a look at it, and see if everything you need is not
> > already in it.
>
> It's a good module for CGI, since it doesn't rely on caching/compiling
> techniques, just simple regex stuff. It will use a lot less RAM than tools
> that compile in-line perl, because it doesn't eval anything or cache
> anything. The only real downside of this module is that coding repeated
> sections (loops) can't be done in-line, i.e. you have to use multiple files.
> That's a bit of a pain.
Yes and no. It is a simple template thing.
The original poster wanted :
it's either code or it's not. no added tags, etc.
In CGI::FastTemplate there is no embedded code, no added tags, so it
suits that need perfectly.
If you want more advanced stuff (loops, code, etc...) then
probably Mason, AxKit or things like that will be more of your taste.
Personnally, since 2 years, CGI::FastTemplate was always enough for
me.
Needs are different. CGI::FastTemplate is very good for very basic
needs (that is no HTML code in mod_perl handlers, but in separate
files). For more advanced needs there are other solutions.
--
Patrick.
``C'est un monde qui n'a pas les moyens de ne plus avoir mal.''
PGP signature