Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libdevel-autoflush-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libdevel-autoflush-perl  ]

套件: libdevel-autoflush-perl (0.06-1)

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.

其他與 libdevel-autoflush-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libdevel-autoflush-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 8.0 kB51 kB [文件列表]