> P.S. How can i merge some textual variables into one? In perl it's looks
> like
>
> var1 = var2 . var3, or var1 = "text1" . "text2" (you get the point)
>
> but in TT it doesn't seem to work and in docs i didn't find any examples
> too.

You can do this.  I forget whether or not the standard concat syntax works,
but something like this would probably work:

[% var1 = "$var2$var3" %]

However, now is the time to ask yourself if you are making your life
difficult by doing a bunch of stuff in the template that you should be doing
in straight perl code before running the template.  My personal belief is
that using plugins to do a whole bunch of application logic in the middle of
your template is a design mistake for any serious application.  At this
point, it probably would have been easier for you to just put this whole
thing in a [% PERL %] section.

- Perrin



Reply via email to