[Templates] getting a string [% variable %]'s contents PROCESS/INCLUDE'd like a file's contents
Lee.M
jupiter at jupiterhost.net
Thu Jul 3 02:03:51 BST 2008
On Jul 2, 2008, at 7:19 PM, Cees Hek wrote:
> 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
Perfect, I knew it was there somewhere, thanks Cees
More information about the templates
mailing list