ããç¼ãã®é£æãè²·ã£ã¦å¸°ã£ãã¯ãããã®ã®çªç¶ä¿®æ£ããªãã¦ã¯ãããªãã³ã¼ããéã£ã¦ãã¾ãã¦ã èªçããæéããªãã¦ãããããªã æé«ã®ã©ã¼ã¡ã³ ãé£ã¹ããã¼ããã¹ã¼ã§ãã ä»åã¯Mojoliciousã®ã»ãã·ã§ã³ã«ã¤ãã¦ã®ã話ããã¨ãã¨åãã£ã¦ããMojoliciousã®ã»ãã·ã§ã³ã使ãã«ã¯ãã®ãããªæä½ããã¾ãã #!/usr/bin/env perl use Mojolicious::Lite; app->secret('passphrase'); get '/' => sub { my $self = shift; $self->session->{count}++; $self->stash->{count} = $self->session->{count}; $self->render('index'); }; app->start(); __DATA__ @@ index.ht
{{#tags}}- {{label}}
{{/tags}}