Len Kranendonk wrote: > Hello all, > > Suppose I have this: > > PerlModule My::Module > PerlChildInitHandler My::Module > PerlOutputFilterHandler My::Module > > In the sub handler {} , is there a way to determinate what type of handler I > am supposed to be ?
yes, current_callback() > > I'm running mod_perl2 for that matters. yes, it does :) for mp2 it's use ModPerl::Util; my $callback = ModPerl::Util::current_callback(); for mp1 it's simply my $callback = $r->current_callback(); HTH --Geoff