Ruben Safir wrote:
>>>> Thanks, Gerald. So, just to be clear, what my preload routine in
>>>> startup.pl does is the following. Maybe you can confirm that I'm doing
>>>> it right.
>>>>
>>>> if (Apache2::ServerUtil::restart_count() == 1)
>>>> {
>>>>    preload_dirs();
>>>>    $Embperl::initparam{preloadfiles} = \@preload_files;
>>>> }
> 
> 
> Where did you put this code?
> 

Hi Ruben, this code goes in the BEGIN block in my startup.pl.

startup.pl is referenced in the Apache config as:

PerlRequire /path/to/startup.pl

Does that help? If not I can provide more context, but that's the
essence of it.

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org

Reply via email to