On Fri, 14 Jul 2000, Andrew Chen wrote: > > You can actually do this from one place, iterating through a list of > > namespaces to flush. Look at the code in > > Apache::PerlRun::flush_namepsace. It's pretty easy. > > We would still have to add code to every module, correct? Even though > there could be a central variable flushing module, all the other modules > would still want to call it. So although we may not be including the > flush_namespace code in every module, we will at least need to call them. No, you just need to have one module that contains a list of the packages to flush and the code to do it, and then install that as a PerlCleanupHandler so it will automatically run after every request. - Perrin
- PerlRun question Andrew Chen
- Re: PerlRun question David Hodgkinson
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question David Hodgkinson
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question Honza Pazdziora
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question Andrew Chen
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question Andrew Chen
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question Andrew Chen
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question Andrew Chen
- Re: PerlRun question Perrin Harkins
- Re: PerlRun question Ken Williams
- Re: PerlRun question [RESOL... Andrew Chen
- Re: PerlRun question [RESOL... Perrin Harkins
- Re: PerlRun question Honza Pazdziora
- Re: PerlRun question Andrew Chen
- Re: PerlRun question Honza Pazdziora