Functions

[% sub bold(text) { "<b>$text</b>" } bold('Hello World') %] --EOF--
look inside...
Thus Spake Andy:

TT3 also support braces for all block commands.