Subject: | Autoflush needed? |
When running the Makefile.PL for Audio-Ecasound-0.92 under
CPAN::Reporter, it seems that the script hangs. In fact, the Makefile.PL
is waiting for user's input, but the question is not yet flushed.
According to http://perl.plover.com/FAQs/Buffering.html output to STDOUT
is automatically flushed if the script when reading from STDIN. But here
it's not STDOUT involved, but some other filehandle, as it seems, so
this flushing rule does not apply. The module author can fix the problem
by adding $|=1 or printing the questions to STDERR, but maybe it's
possible to add some kind of autoflushing to CPAN::Reporter?
I think this is not the only distribution with this problem, I
encountered similar things many times before, but did never an
investigation.
Regards,
Slaven