Or just
use IO::Handle; flush STDOUT; [download]
In reply to Re^2: Background process with perl and lighttpd by zwon in thread Background process with perl and lighttpd by MonsieurBon