Re: AutoLoader bypass?

2002-08-20 Thread Elizabeth Mattijsen
At 06:24 PM 8/19/02 -0700, Randy J. Ray wrote: >>Well, my C 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: >use Auto

Re: AutoLoader bypass?

2002-08-19 Thread Randy J. Ray
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(s

Re: AutoLoader bypass?

2002-08-19 Thread Elizabeth Mattijsen
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?

Re: AutoLoader bypass?

2002-08-19 Thread Randy J. Ray
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 ma

Re: AutoLoader bypass?

2002-08-19 Thread Elizabeth Mattijsen
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 pr

Re: AutoLoader bypass?

2002-08-19 Thread Randy J. Ray
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 p

AutoLoader bypass?

2002-08-19 Thread Elizabeth Mattijsen
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