local 㨠my - ITæ¦è¨ã®ç¶ã local 㨠my ã®éããåãããµã³ãã«ãæ¸ãã¦ã¿ã our $foo = 0; do { # ... (1) local $foo = 1; do { print "$foo\n" }; # 1 sub { print "$foo\n" } # 0 }->(); do { # ... (2) my $foo = 1; do { print "$foo\n" }; # 1 sub { print "$foo\n" } # 1 }->(); ã¡ãªã¿ã« do {...} 㯠return ã®æ±ããé¤ã㦠(sub {...})->() ã¨ç価ã ã¨èãã¦ããã§ããã¾ããé¢æ°ããã®å ´ã§å¼ã³åºããããªãã®ã§ãããåãªã {...} ã¨ã®éãã¯ã {...} ãå¼ã§ã¯ãªãã¦æï¼ãããã¯ï¼ã§ãã£ã¦ã do {...} ã¯å¼ï¼do é¢æ°ã®å¼åºãï¼ã¨ããã¨ããã§
{{#tags}}- {{label}}
{{/tags}}