ã¯ããã« æè¿ãããã Mouse ãªå®è£ ãå§ããã¨ããã§ï¼Moose ãã»ã¨ãã©ãã£ããã¨ãªãï¼ï¼ããããªããªã楽ããã®ã§ï¼ã¡ããã©ãä»äºã§å¿ è¦ã ã£ãããã¸ãã¼ã·ã§ã³ããªã¯ã©ã¹ãæ¸ãã¦ã¿ãã®ã§ãã®ã¸ããæãã¦ã¿ã¾ãï¼ å人çã«ä½¿ãããããã«ããå®è£ ãã¦ãã¾ããï½ ãããªæãã§ä½¿ããã ãã¢ãã«ãã¨ããå®ç¾©ã«ããããªããããªæ°ããã¾ããï¼ã¾ããã¾ãæ°ã«ããªãã§ãã ããï¼ï¼ ã³ã³ããã¼ã©å ã³ã¼ãä¸ã«åºã¦ãã $c->model(...) ã«ã¤ãã¦ã¯ï¼æ¬¡ããåç §ãã ãã: [perl][amon2] Amon2::Plugin::Model ã¨ããã®ãæ¸ãã¦ä½¿ã£ã¦ããã®ã§å ¬éãã¦ã¿ã « ããã¶ãï¼ãã¦ãï¼ sub foobar { my ($class, $c) = @_; my $req = $c->req; my $page = $req->param('page') // 1; my
{{#tags}}- {{label}}
{{/tags}}