Subject: | segfault trying to include PerlSwitches statement inside @PerlConfig |
Date: | Fri, 24 Jul 2015 14:59:07 -0400 |
To: | bug-mod_perl [...] rt.cpan.org |
From: | Kevin Field <kev [...] brantaero.com> |
In a <Perl> section in my httpd.conf, I have this:
push @PerlConfig, q~
# PerlSwitches -w
PerlOptions +GlobalRequest
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlSetVar ReloadAll Off
PerlSetVar ReloadModules "MyApp::*"
~;
This functions fine. If I uncomment the PerlSwitches line, I can no
longer start the server, which says simply "Segmentation fault".
This is on mod_perl 2.0.4, the latest supported downstream on CentOS 6.5.
It would be nice to be able to include PerlSwitches from within a <Perl>
block the same way they work outside a <Perl> block, so that they could
be made conditional along with the standard ReloadModules and the like
for development only.