ä»äºã¡ã¢ã ã¤ã³ã¿ã©ã¯ãã£ããªã³ã³ã½ã¼ã«ã¢ããªã±ã¼ã·ã§ã³ã ã¨ãSTDIN/STDOUT ã使ã£ãããã¨ããçºçãã¾ããããããã®ããã¹ãããã¨ãã«ããã¾ã¾ã§ã¯ã { local *STDOUT; open(STDOUT, '>', 'stdout.txt') do_something(); #STDOUT ã使ãä½ã close(STDOUT); } open(my $MY_STDOUT, '<', 'stdout.txt'); #... $MY_STDOUT ã®ä¸èº«ãèªã¿åºãã¦ãã¹ããã ã¿ãããªå¦çãæ¸ãã¦ããã¡ã¤ã«ã®ä¸èº«ã§ãã§ãã¯ãã¦ã¾ããã(STDIN ã®å ´åã¯éã§ãå
¥åãã¼ã¿ããã¡ã¤ã«ã«æ¸ãã¦ãæ»ãæ²ãã STDIN ãã¢ããªã«èªã¾ãã)ã ãã¡ã¤ã«ãåã¾ããã®ãå«ã ã£ãã®ã¨ãã¡ãã£ã¨ããªããã¼ãªã®ãæ°ã«å
¥ããªãã£ãã®ã§ãã¢ã¸ã¥ã¼ã«ã使ã£ã¦ããã¡ãã£ã¨åªé
ã«(?)æ¸ããªãããªãã¨
{{#tags}}- {{label}}
{{/tags}}