Debugger dosen't print to console

bingo11 wrote on Sat Mar  5 07:04:33 CET 2005:
Hi every one,
I noticed that the debugger dosen't print output to the console during the
process. instead, the output is dumped to the console when debugger is done.
Any fix for that ???

Thanx for your help,

mardi
stephan_ruehl wrote on Sat Mar  5 07:20:07 CET 2005:
Hi,

Perl buffers output before printing. Use
$| = 1;
$old = select STDERR;
$|=1;select $old;

at the beginning of your script to change this behavior.

Regards

 Stephan

Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.