Generators

[% numbers = [ item * 3 for 1 to 10 ] %] [% numbers.join(', ') -%] --EOF--
look inside...
Thus Spake Andy:

One of the nice things about pure expression languages is that generator expressions come for free. You can construct a list from the results yielded by other expressions.