in reply to Re^3: CGI script calling a perl script
in thread CGI script calling a perl script

Unfortunately the flush didn't change anything. Closing STDOUT didn't help either. Seems like a simple thing I need to do - call a perl script, let it run in the background and continue serving HTML.