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

Reply via email to