in reply to Re^2: CGI Question
in thread CGI Question

...and came across the module CGI::Out

I've never used the module, but its description sounds like it's doing more or less the opposite of what you're trying to achieve. I.e. it's explicitly collecting/buffering any regular output from the script, in order to send it en bloc at the very end, so if an error occurs at some late stage of processing, there won't be any partial output (already sent to the browser) messing up an otherwise nicely formatted error page...

Replies are listed 'Best First'.
Re^4: CGI Question
by njweatherman (Sexton) on Apr 02, 2009 at 19:20 UTC
    Your right! I read through the documentation to fast. I just came across another article and it said to set the STDOUT to $|=1
      $|=1

      That's at least worth trying.  You might be lucky, and all other components involved are playing along nicely.  No guarantees, though...