Perrin Harkins <[EMAIL PROTECTED]> wrote:
> > My biggest complaint for perl for web apps, however,
> > is the templating.  I haven't found a template module
> > in perl that rivals Smarty templates in PHP.
> It sounds like you somehow missed Template Toolkit:
> http://www.template-toolkit.org/docs/default/Tutorial/Web.html

        OK, this is the fifth time this morning I've heard about
template::toolkit. It all started when a friend that I'm working on an AJAX
library with came up to me and said "hey, ingy's rewritten Template::Toolkit
in javascript! This solves our MVC problem!"

        (If you want to see that madness, check here: http://ingy.net/ )

        Template::Toolkit might Do Stuff, but it does it in (IMHO) a
backwards way. I mean, we're already using HTML, CSS, probably a bit of XML,
and Perl. Why the hell do we want to throw *another* language into the mix?
Why am I forced to say

        [% FOREACH(blah) foo %]

        Instead of the

        [% for my $i (@foo) %]

        I've become happily used to?

        On that note, if you need a good templating system in perl that
actually IS perl and not some contrived thing, try Mason. I don't actually
use the stuff myself, but it looks a hell of a lot more simple and elegant
than TT. :)

                - Tyler

Reply via email to