Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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?

Thanks!



- Boldra

Comment on CGI-Application sending warnings to browser
Re: CGI-Application sending warnings to browser
by Anonymous Monk on Jan 31, 2012 at 08:37 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2015-07-07 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls