2015-01-14 131 views
0

如何在Template Toolkit中迭代簡單數字而不是使用FOREACH迭代散列?迭代數字模板工具包

我能在TT的文檔中找到的是FOREACH。

+3

你的意思是像'[IN [1..10] %% FOREACH富]'?該語法在文檔的[List References](http://www.template-toolkit.org/docs/manual/Variables.html#section_List_References)部分進行了解釋。 – ThisSuitIsBlackNot

回答