a quick test showed the handlers to be FIFO, so I would expect you to get
moda
modb
modc
d
e
HTH
--Geoff
> -----Original Message-----
> From: Paul G. Weiss [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 2:38 PM
> To: 'Stas Bekman'
> Cc: modperl
> Subject: push_handlers (was: PerlCleanupHandler vs register_cleanup)
>
>
> While we're on the subject of handlers, if
> I have
> PerlLogHandlers moda modb modc
> in my conf file
> and I do
> $r->push_handlers('PerlLogHandler', \&d);
> $r->push_handlers('PerlLogHandler', \&e);
> during the content phase
> what is the order that the stacked log handlers run?
>
> -P
>
>
>
> > -----Original Message-----
> > From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 24, 2000 12:47 PM
> > To: Paul G. Weiss
> > Cc: modperl
> > Subject: Re: PerlCleanupHandler vs register_cleanup
> >
> >
> > On Thu, 24 Aug 2000, Paul G. Weiss wrote:
> >
> > > What is the difference between doing
> > > $r->push_handlers('PerlCleanupHandler', \&function);
> > > and
> > > $r->register_cleanup(\&function);
> >
> > The same:
> > http://www.modperl.com/book/chapters/ch9.html#Server_Core_Functions
> >
> > The register_cleanup() method registers a subroutine that
> > will be called
> > after the logging stage of a request. This is much the same
> > as installing
> > a cleanup handler with the PerlCleanupHandler directive. See
> > Chapter 7 for
> > some practical examples of using register_cleanup().
> >
> >
> _____________________________________________________________________
> > Stas Bekman JAm_pH -- Just Another
> mod_perl Hacker
> > http://stason.org/ mod_perl Guide
http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED] http://apachetoday.com http://jazzvalley.com
> http://singlesheaven.com http://perlmonth.com perl.org apache.org
>
>