Guys,

Okay, if I have a string that contains some TT2 code, I can eval it like this:

[% code | eval %]

But suppose I need to do something to it first? Let's say I want to create a custom vmethod (or maybe a filter, still not sure which yet) which will do some fiddling to my value, _then_ eval it, then return the result. How do I call the eval filter directly from Perl?

I'm sure this is a simple question, it's just not quite clicking for me.  TIA.


                -- Buddy

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to