http://www.perlmonks.org?node_id=94921


in reply to delayed print statement?

Turn off buffering by adding this before you print anything:
$| = 1; or $|++;
Read all about it in Suffering from Buffering?

--
Check out my Perlmonks Related Scripts like framechat, reputer, and xNN.