in reply to
Printing while receiving files from socket
did you considered flushing
$|
? see
perlvar
for details
Comment on
Re: Printing while receiving files from socket
Download
Code
In Section
Seekers of Perl Wisdom