Perl ⺠ãµãã«ã¼ã㳠⺠here Perlã§ãã¯ãã¼ã¸ã£ã¼ããä½æããæ¹æ³ã解説ãã¾ãã ã¯ãã¼ã¸ã£ã®å®ç¾© ã¯ãã¼ã¸ã£ã®å®ç¾©ãã³ã¼ãã使ã£ã¦è§£èª¬ãã¾ãã use strict; use warnings; # ãã£ã¨ãã·ã³ãã«ãªã¯ãã¼ã¸ã£ { # å¤æ°ã®çæ my $var = 5; sub var { return $var; } } # ã¹ã³ã¼ããçµãã£ã¦ãvarãµãã«ã¼ãã³ã«åç §ããã¦ããããã # $var ã¯åå¨ãç¶ããã # var ãµãã«ã¼ãã³ã ããã$var ãè¦ããã¨ãå¯è½ã print "1: ãã£ã¨ãã·ã³ãã«ãªã¯ãã¼ã¸ã£\n"; print var(), "\n"; ã¯ãã¼ã¸ã£ã®å®ç¾© ã¯ãã¼ã¸ã£ã§ããããã®æ¡ä»¶ã¯ããµãã«ã¼ãã³ããèªåã®ã¹ã³ã¼ãå¤ã®ã¬ãã·ã«ã«å¤æ°ãåç §ãã¦ãããã¨ã§ãã( ãã®ä¾ã§ã¯ãvar ããèªåã®ã¹ã³ã¼ãå¤ã®$var ãåç §ã) ã¯ãã¼ã¸
{{#tags}}- {{label}}
{{/tags}}