in reply to Handler syntax error causes an apache segfault during startup

To start with, I'd suggest switching from $$href{key} syntax to $href->{key}. Let's see what happens from there. ;-)

Replies are listed 'Best First'.
Re^2: Handler syntax error causes an apache segfault during startup
by pjotrik (Friar) on Jul 07, 2008 at 08:06 UTC

    Well of course, correcting to $self->{data} removes the error as well as correcting to $$self{data}. With this error fixed, apache starts correctly - the issue is that it doesn't report the syntax error very nicely.

    From some further experimentation, the Apache segfault really only seems to happen when there's an undeclared hash. Other kinds of syntax errors I could come up with are reported correctly.