Hi, Am Sonntag, 18. Januar 2004 01:13 schrieb Stas Bekman: > Boris Zentner wrote: > >>Anyway, loading these methods on demand may actually be very useful > >>for Perl 5 ithreaded based MPM's! > > > > but for forkbased servers it is just the opposite. I dislike your > > AUTOLOAD idea for that reason. > > It's not quite opposite. You don't want to load 40+ modules if you are > going to use only 3 of them. It's out of question that we are going to > preload them by default. You are probably unaware that there are that many > modules in mp2. >
I do not want to preload all modules, I like to preload my modules, and only the ones I need before apache forks. Just to share them at least at this point. With the autoload aproach all my server load the missing functions after each other and need x times more mem. Sorry if this was not so clear. > If you really want to there is > ModPerl::MethodLookup::preload_all_modules(), but please keep it in your > config and don't put it in any CPAN modules: > http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html#C_preload_all >_modules___ > > > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Boris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]