Hi folks,

I can't find anything in the docs (not really sure what to look for) - I want to retrieve the current phase from within a handler.

Basically I'm trying to implement a per-directory PerlOptions type directive, so I can turn phase handlers on and off per-directory not just per-server.

I'm looking at calling a single method at the top of each handler to see if the handler should run, but it would need to say something like

   if ( $r->phase() eq 'Fixup' ) { ...

anyone know how I can get that?

cheers
John

Reply via email to