2012-07-01 TemplateのIF〜ELSE〜ENDを1行で書く perl tt [% IF (loop.count % 2); 'foo'; ELSE; "bar"; END %]知らなかった。