ã¿ãªããããã«ã¡ãï¼ã¿ãªããã¯ãã³ãã¬ã¼ã使ã£ã¦ã¾ããï¼ Xslate ã¤ãã£ã¦ã¾ããï¼ TTerse 使ã£ã¦ã¾ããï¼ä»åã¯ãã£ããããã£ã¦ãã¾ãç½ ãæãã¾ãï¼ SET ã§ä½ã£ãå¤æ°ã¯ãããã¯ã¹ã³ã¼ãã§ãã ãããã¯ã¹ã³ã¼ããªãã ãã© SET ããã¹ã³ã¼ãã®ä¸ã«ãããããã¯ã¯ã¹ã³ã¼ãã®å¯¾è±¡å¤ãªã®ã§ä»¥ä¸ã®ãã¹ãã¯åããªãã£ãããããã ã my $tx = Text::Xslate->new({ syntax => 'TTerse' }); my $ret = $tx->render_string(<<TMPL,); [% SET chin = 'kiru' -%] [% MACRO xaicron BLOCK -%] [% chin = 'kiranai' -%] [% chin -%] [% END -%] [% xaicron() -%] [% chin -%] TMPL is $ret
{{#tags}}- {{label}}
{{/tags}}