Debian logoDebian Screenshots >

libdevel-autoflush-perl

module for setting autoflush from the command line

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

http://metacpan.org/release/Devel-Autoflush


Statistics

508 other people were interested in this package here. The newest known version of this software is 0.06-1 (Information last updated 1 day ago.)