Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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
LanX ♪..♫ Fiesta, fiesta mexicana ... ♪..♫
[mandarin]: LanX aren't you a bit late to the party?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2018-06-18 17:38 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.