[Templates] getting a string [% variable %]'s contents PROCESS/INCLUDE'd like a file's contents
Cees Hek
ceeshek at gmail.com
Thu Jul 3 01:19:03 BST 2008
On Thu, Jul 3, 2008 at 10:09 AM, Lee.M <jupiter at jupiterhost.net> wrote:
> Hello all,
> Thanks in advance for any feedback :)
> I can't seem to find out if/how this is possible but:
> If a variable passed to process() is a string that also includes TT
> directives, is there a way to have the variable's contents processed?
Check out the Template::Manual::Filters perldoc and search for eval.
[% fragment | eval %]
Cheers,
Cees
More information about the templates
mailing list