Perlã®éçºçã§ãã5.13.2ããªãªã¼ã¹ãããã http://search.cpan.org/dist/perl-5.13.2/ ä»åã¯ããªãæ欲çãªå¤æ´ãå«ãã§ããã æååç½®æã«ããã/r修飾åã®å°å ¥ãs/foo/bar/r ã¯å ã®æååãå¤æ´ãããç½®æå¾ã®æååãè¿ããããã¯ç¹ã«ãmapã¨å ±ã«ä½¿ç¨ããã¨ãã«å¨åãçºæ®ãã*1 ã¤ãã«package宣è¨ãblockãåããããã«ãªã£ã(!) ããã¯5.14ã楽ãã¿ã *2ã See also perl5132delta. *1:ä»ã¾ã§ã¯ map { my $s = $_; $s =~ s/foo/bar/; $s } @array ã¨ããªããã°ãªããªãã£ãã¨ããããmap { s/foo/bar/r } @array ã¨ããã ãã§ãããªã *2:ãããã5.14ãã¡ã¸ã£ã¼ã«ãªãæ¥ãæ¥ãã®ãã©ããã¯çåã®ä½å°ãããã
{{#tags}}- {{label}}
{{/tags}}