Hmmm, i just ran this through tpage v2.57: [% method = 'vie' %] [% IF method != 'view' %] hello [% END %]
and it worked ... jeffa --- Scott Weisman <[EMAIL PROTECTED]> wrote: > I'm not sure if this is already known or has > been covered before, but you > can't use a variable named "method" in TT2. > > I had a line that TT2 choked on, like this: > > [% IF method != 'view' %] > > As soon as I changed method to meth (or any > other valid name) things worked > fine. > > Is this a bug? It certainly isn't documented > and doesn't seem like a feature. > > Scott > > _______________________________________________ > templates mailing list > [EMAIL PROTECTED] > http://lists.template-toolkit.org/mailman/listinfo/templates __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
