perl: non-buffered write

来源:互联网 发布:手机上网络时间不对 编辑:程序博客网 时间:2024/04/29 23:48

select($file);

$|=1;

# for now, write to file without buffered.

 

issue:

printing something to STDOUT will write in file instead of display of STDOUT.