mreece has asked for the wisdom of the Perl Monks concerning the following question:
dies with errors. It would be nice if I could use the perl debugger during the apache startup, but the docs for Apache::DB are pretty thin.<Perl> use MyApp; </Perl>
what strategies might i pursue to figure out why my module fails to load under Apache/1.3.36 (Unix) mod_perl/1.29? i have been skimming http://perl.apache.org/docs/1.0/guide/debug.html but it seems that my options are to use gdb for startup and Apache::DB for debugging requests.
is there any way to use the perl debugger during apache startup?
update: i have of course verified that @INC is the same in both scenarios..
update 2: i managed to track down my problem the hard way (turns out Rose::DB::Object does things a little differently when $ENV{MOD_PERL}), but the general question still stands: is there any way to use the perl debugger during apache startup?