2010-11-07から1日間の記事一覧
synopsisのloopsにLoop iterators are partially supported.とあったのでmemo。 [% FOREACH item IN arrayref %] [%- IF loop.is_first -%] <first> [%- END -%] * [% loop.index %] * [% loop.count # loop.index + 1 %] * [% loop.body # alias to arrayref %] * </first>…