On 10.12.2009 09:52, Reagen Siedl wrote:
> Can anyone help me with a query i have about TT? I would like to use a 
> variable name such as 'my.var' and not have TT try to interpret it as an 
> array/hash.
> 
> $variables{'my.var'} = "some text";

This should do it.

Hi, [% ${my.var} %].

Documentation here:

http://template-toolkit.org/docs/manual/Variables.html#section_Variable_Interpolation

-- Robin

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

Reply via email to