what's the plan for PerlCleanupHandler in 2.0? (the usual question of 
whether to document it or not :)

I understand that in 2.0 since now we have a pool that gets destroyed at 
the end of each request, we simply use:

   $r->pool->cleanup_register(\&cleanup_callback, $data);

as a perlcleanup handler. So implementing PerlCleanupHandler can 
actually be implemented as post_read_request handler which runs the 
above code, right? of course must be inserted as APR_HOOK_FIRST.

__________________________________________________________________
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]

Reply via email to