http://www.perlmonks.org?node_id=281066


in reply to Re: How do I get errors printing out to the browser?
in thread How do I get errors printing out to the browser?

if a Perl script fails perl -c then the server is only going to issue an internal error to your browser.
Why do you say that? fatalsToBrowser will report errors to the browser whether the script compiles or not. It even reports line numbers and paths, which is a good reason to remove fatalsToBrowser in production code.