Re: somevar = BLOCK and passing switches
Larry Leszczynski <[email protected]> Wed, 08 May 2013 17:49:09 -0600
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <1368056949.23750.140661228346637.355D7C87@webmail.messagingengine.com> |
Hi Summer - > [% some_name; token_to_omit =1 %] > > some_name does not respect that variable "token_to_omit" Did you try: [% PROCESS some_name token_to_omit=1 %] (No semicolon after "some_name".) http://www.template-toolkit.org/docs/manual/Directives.html#section_BLOCK HTH, Larry