How can I make sure that I see all of Perl's warning and error messages when running a script under mod_perl? (Apache/2.2.16 (Debian) [...] mod_perl/2.0.4 Perl/v5.10.1)
I feel like I have done everything correctly: I have "PerlWarn On" in httpd.conf, I have
use strict;
use warnings FATAL => 'all';
in all my Perl files, and when I myself use warn(), I see the result in /var/log/apache2/error.log.
But many messages still don't get to me. For instance, "Can't locate object method" never appears in the log. The script simply dies and I have to figure out for myself where and why.
Anything I may have overlooked?