Cure wrote:
I know --> I submit the headers but why does it show the headers on the browser, doesn't
that mean the headers wre submitted twice ?

Why don't you take a look at the raw output (with LWP's GET script or something) and see?


I misread your question before -- apache does send a hardcoded message with headers by default when your program crashes. In your case, you have also sent some headers but I think those will be buffered while the error headers will not, causing the effect that you're seeing.

I can't advise you about why CGI::Carp isn't working for you. It might be caused by you already having sent some output at the time your script died. People often complain about CGI::Carp problems, so it seems to be a pretty fragile module. You can see some other people's discussions about it in the mailing list archives. They might have possible solutions for you.

- Perrin

Reply via email to