â»1ï¼Xslateã§ã¯ãã³ãã¬ã¼ãã®ã³ã³ãã¤ã«çµæããã£ãã·ã¥ã§ãã â»2ï¼ããã©ã«ãã¯$ENV{HOME}/.xslate_cacheã ãã$ENV{HOME}ãæ¸ãè¾¼ã¿å¯è½ã§ãªããã°ã»ãã®ãã£ã¬ã¯ããªã試ã â»3ï¼ããã³ãã¬ã¼ãã®æ§æã«ãã£ã¦ããã©ã«ãã¯å¤ããããããã¯ããã©ã«ãæ§æKolonã®ããã©ã«ãå¤ ãªã¹ã8ããªãã·ã§ã³ãæå®ããï¼hello_xslate2.plï¼ use strict; use Text::Xslate; my %vpath = ( header => "- - - - - - - - - - -\n", footer => "- - - - - - - - - - -\n", hello => "Hello, Xslate world!\n", ); my $tx = Text::Xslate->new( path => \%vpath, header =
{{#tags}}- {{label}}
{{/tags}}