$| = 1; # disable buffering STDOUT [download]
In reply to Re: behaviour of STDOUT and STDERR by Burak in thread behaviour of STDOUT and STDERR by thiagu_mvt