Re: [Templates] Embedding tags within tags
[prev]
[thread]
[next]
[Date index for 2004/11/11]
On Wed, Nov 10, 2004 at 08:18:50PM -0500, Robert Hicks wrote:
> Can I put a value in my variables (say value => 'name') where that name is a
> lib that is called depending on a switch statement?
>
> [% INCLUDE [% value %] %]
>
> Then that value would be be changed to the lib name I want to include and
> then it would be parsed. I am guessing that would be a double pass and not
> work but I am away from my dev box to try it.
Try
[% INCLUDE $value %]
Dave...
--
If you miss an opportunity to see him perform... you're a total asshole.
David Cross rocks my world.
-- Jack Black
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] Embedding tags within tags
Dave Cross 06:35 on 11 Nov 2004
|