in reply to Re: CGI Question
in thread CGI Question

Thanks for the prompt reply. I did a web search and came across the module CGI::Out. I'll see if that solves the problem. Thanks again!

Replies are listed 'Best First'.
Re^3: CGI Question
by almut (Canon) on Apr 02, 2009 at 19:04 UTC
    ...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...

      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...