> The problem is solved in TT3's superior parser which only looks for > operators where operators are expected, and doesn't require them to be > universally reserved words. Ok, now I understand why they are not in the core.
>> maybe it involves to hack the parser a lot ? > > Nope, it's easy. Just add the following lines to Template::Grammar, > around line 64: thanks, but I'll rather pass reference to lt, gt in $vars to template than modify the sources (there will be problems with commercial hostings) > %CMPOP = qw( > != ne > == eq > ... Ha, that's why '==' works with strings :) Thanks. _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
