Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://950902]
Approved by Corion
help
Chatterbox?
[erix]: (and it would suck)
[shmem]: it flies out of the editor, and enters the git branch through another window
[shmem]: hmm, thinking about it, a BOM could be a hummingbug

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2018-02-20 13:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (271 votes). Check out past polls.

    Notices?