Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

CGI-Application sending warnings to browser

by Boldra (Deacon)
on Jan 31, 2012 at 07:54 UTC ( #950902=perlquestion: print w/ replies, xml ) Need Help??
Boldra has asked for the wisdom of the Perl Monks concerning the following question:

I have a CGI::Application::FastCGI + TT app which is sending perl warnings to the browser (and breaking the content-headers, resulting in 500s).

The warnings of the sort "use of uninitialized value".

CGI::Carp is used, but only 'fatalsToBrowser', not 'warningsToBrowser'.

It's not an Apache global setting, because other scripts aren't doing this.

What else can cause this? How can I get the warnings to go the apaches error log?


- Boldra

Comment on CGI-Application sending warnings to browser
Replies are listed 'Best First'.
Re: CGI-Application sending warnings to browser
by Anonymous Monk on Jan 31, 2012 at 08:37 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://950902]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2015-10-14 03:24 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (320 votes), past polls