[ 源代码: libdevel-autoflush-perl ]
软件包:libdevel-autoflush-perl(0.06-3)
libdevel-autoflush-perl 的相关链接
Debian 的资源:
下载源码包 libdevel-autoflush-perl:
- [libdevel-autoflush-perl_0.06-3.dsc]
- [libdevel-autoflush-perl_0.06.orig.tar.gz]
- [libdevel-autoflush-perl_0.06-3.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
module for setting autoflush from the command line
Devel::Autoflush is a hack to set autoflush for STDOUT and STDERR from the command line or from "PERL5OPT" for code that needs it but doesn't have it.
This often happens when prompting:
# guess.pl print "Guess a number: "; $n = <STDIN>;
As long as the output is going to a terminal, the prompt is flushed when STDIN is read. However, if the output is being piped, the print statement will not automatically be flushed, no prompt will be seen and the program will silently appear to hang while waiting for input.