Mailing List Archive

Re: PerlChildInitHandler
On Mon, 14 Feb 2000, Brendan W. McAdams wrote:

> I'm having trouble getting apache to even recognise the existance of
> PerlChildInitHandler ( and childexithandler it seems as well) .
>
> I've tried declaring my PerlChildInitHandler inside a VirtualHost, in the
> main body of the config, and as a push_handler in my startup file [which is,
> i know for a fact, being execed].
>
> no matter what I try, apache is compeltely ignoring this directive.
> I've put write to log when initialised traps in the modules that are being
> handled on init and they never trip.

trying building mod_perl with PERL_TRACE=1, 'setenv MOD_PERL_TRACE all'
before starting the server, what do the diagnostics say?
Re: PerlChildInitHandler [ In reply to ]
On 14 Feb 2000, Randal L. Schwartz wrote:

> >>>>> "Sean" == Sean Chittenden <sean@serverninjas.com> writes:
>
> Sean> Lol! I ripped that right out of Apache::Status. Any ideas as to
> Sean> whether or not its faster with map or push? I may, desire dependent,
> Sean> benchmark the two formats and report the results.
> Sean> It looks to me like the reason Doug did the code the way he did
> Sean> was because he returns an array ref to the calling sub. --SC
>
> It's probably more of a style thing. I like "map" because I had a lot
> of practice with Lispy-stuff in my history. Maybe doug prefers the
> the other. TIMTWOTDI.

I'm a huge fan of map! I wrote that code ~3 years ago, my style has
evolved since :)