http://d.hatena.ne.jp/kazukichop/20080124/1201146190 Perlåãã£ã¦ãªã - Lism.in * blog - nekoya (id:studio-m) ããã¾ãå è¨äºã¨ã«ã³ã±ã¤ãªãã£ãããããã©ãä¸å¿ã print join "\n" , map { s/a/A/g; $_ } @list; ãã®æ¸ãæ¹ã¯@listãç ´å£ãã¦ãã¾ãã ç¡è«ãç ´å£ããã¦ãæ§ããªãå ´åã¯ããã§ãããããmapã使ã£ã¦ããã¨ãããã¨ã¯åºæ¬çã«ã¯ç ´å£ãããããªãã¯ãã ãï¼ã§ããã§ããï¼ï¼ ç ´å£ãããç®çãªãã°å人çã«ã¯foreachã使ãæ¹ãããã¨æã£ã¦ãã s/a/A/g foreach @list; print join "\n" , @list; ã¾ãããã§ãmapã使ã£ã¦å¤ãå¤æ´ãã¤ã¤@listãç ´å£ããããªãã®ã§ããã° print join "\n"
{{#tags}}- {{label}}
{{/tags}}