perl6/rakudo: How could I disable autoflush?
问题 I tried this, but it didn't work: $*OUT.autoflush( 0 ); 回答1: $*OUT.autoflush = False should disable it, and it runs without error, but it seems that parrot's IO still flushes automatically. So there currently doesn't seem to be an easy way. 回答2: Rakudo doesn't support autoflush. There's a note in 5to6-perlvar under the $OUTPUT_AUTOFLUSH entry. Some examples from a long time ago mention an autoflush method, but that has disappeared: $*ERR.autoflush = True; $*ERR.say: "1. This is an error"; $