ITeye博客

Template

jedy · 2006-01-25 11:12 · Markdown

tt中用hash的值做键值

$t=Template->new();

$input = 'print [% FOREACH i = [{a => 1}] %] [% u.t.${i.a} %] [% END %]';
$t->process(\$input, {u=>{t=>{1=>10}}});

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。