At 06:24 PM 8/19/02 -0700, Randy J. Ray wrote:
Well, my Cuse AutoLoader would be _outside_ any of the loaded modules in
the mod_perl startup.pl script after all the modules necessary for proper
execution of _your_ mod_perl environment, are loaded.
I see... you mean to have a line like this:
It wasn't until recently that I realized that the functionality of AutoLoader might
actually be counter-productive for mod_perl, at least in a prefork MPM.
Because routines are loaded when they are requested, they may be loaded in child
processes, causing duplication in memory because they are
On 2002.08.19 13:53 Elizabeth Mattijsen wrote:
Because routines are loaded when they are requested, they may be loaded in
child processes, causing duplication in memory because they are not shared.
They would be shared if they would be loaded in the initialization phase
before the child
At 02:05 PM 8/19/02 -0700, Randy J. Ray wrote:
Because routines are loaded when they are requested, they may be loaded in
child processes, causing duplication in memory because they are not shared.
They would be shared if they would be loaded in the initialization phase
before the child processes
On 2002.08.19 14:19 Elizabeth Mattijsen wrote:
use AutoLoader 'preload'; # preload anything you can find in %INC
use AutoLoader preload = { module = '' }; # all from specific module
use AutoLoader preload = { module = [qw(suba subb)] }; # only specific
Would that make sense?
At 02:37 PM 8/19/02 -0700, Randy J. Ray wrote:
use AutoLoader 'preload'; # preload anything you can find in %INC
use AutoLoader preload = { module = '' }; # all from specific module
use AutoLoader preload = { module = [qw(suba subb)] }; # only specific
Would that make sense?
Problem
On 2002.08.19 14:47 Elizabeth Mattijsen wrote:
At 02:37 PM 8/19/02 -0700, Randy J. Ray wrote:
use AutoLoader 'preload'; # preload anything you can find in %INC
use AutoLoader preload = { module = '' }; # all from specific module
use AutoLoader preload = { module = [qw(suba subb)] };