File::RotateLogs ã大å¤ä¾¿å©ã§ãã使ã£ã¦ããã®ã ããããã¯ãã¡ã¤ã«ã¸æ¸ãè¾¼ãã¨ãã« print ãå¼ãã§ããã ä¸æ¹ ã«ã²ããã::ããã·ã - perl ã§å¾©æ°ã®ããã»ã¹ãããã°ãåãã¨ã㯠syswrite ã¾ã㯠flock ãã¹ã ã«ããã¨é·ããã°ãåãã¨ã㯠syswrite ã«ããªãã¨æ··ããã¨ããã ãã£ã¦ File::RotateLogs ãå®ã¯æ··ãããã¨ãããã®ããªã¨æããè¤æ°ããã»ã¹ããé·ããã°ãåãã¾ãã£ã¦ã¿ããä¸åã«æ··ãããªãã£ãã ãããã調ã¹ãçµæãopen layer ã«æãä½ç´ãª layer ã§ãã :unix ãæå®ããã° print æã 1 ã¤ã® write(2) ã«ãªãããã ã£ãã > cat test.pl open my $fh, ">:unix", "test.txt"; print $fh "a" x (1024 * 100);
{{#tags}}- {{label}}
{{/tags}}