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

Reply via email to