> Also, a BLOCK produces output.  A MACRO returns a value.  So you can also
> do this:
>
> [% 'something' IF thing2() == 'whatever' %]
>
> which wouldn't work with a BLOCK.

Well, you can, but not directly.

[% temp = PROCESS myfuncs.tt2/thing1 %][% IF temp == 'whatever' %]

Paul

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

Reply via email to