> > $r->set_handlers('PerlHandler",\&My::Package::handler);
> 
> set_handlers() should work. keep in mind that it's current not
> possible (IIRC) to set_handler() for the current phase.  so, for the
> PerlHandler you'd want to do it from someplace else, like your
> PerlAccessHandler or something.

Which is ideal for me, since I'm trying to set it in the
PerlAccessHandler

> oh, and the syntax doesn't require a coderef -
>    $r->set_handlers(PerlHandler => 'My::Package');
> works too.

Each of these:

$r->set_handlers(PerlHandler => 'My::Package');
$r->set_handlers(PerlHandler => 'My::Package::handler');
$r->set_handlers(PerlHandler => \&My::Package);
$r->set_handlers(PerlHandler => \&My::Package::handler);

give me:
 [error] Can't set_handler with that value

Any ideas?

(I've also tried the same variations on 
$r->set_handlers(PerlHandler =>
'Apache::ROOT::path::to::myscript_23pl');
to try and convince it to load my Apache::Registry scripts, with the
same results
)

Reply via email to