perl6/rakudo:如何禁用自动刷新? [英] perl6/rakudo: How could I disable autoflush?

查看:100
本文介绍了perl6/rakudo:如何禁用自动刷新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了这个,但是没有用:

I tried this, but it didn't work:

$*OUT.autoflush( 0 );

推荐答案

$*OUT.autoflush = False应该将其禁用,并且可以正常运行,但是看来鹦鹉的IO仍会自动刷新.因此,目前似乎不是一个简单的方法.

$*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.

这篇关于perl6/rakudo:如何禁用自动刷新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆