> -----Original Message-----
> From: Rasoul Hajikhani [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 24, 2001 2:59 PM
> To: [EMAIL PROTECTED]
> Subject: push_handlers
> 
> 
> Hello again,
> The problem with push_handlers, I just realized, is that the
> "PerlHandler" argument assumes that its argument is a method, sub,
> within the same package/handler. However, I need some other handler to
> take over and finish the job. Chaining won't do since I don't know
> before hand which handler will step in. 
> Any suggestions?

$r->push_handlers(PerlHandler => 'My::Handler');
or
$r->push_handlers(PerlHandler => 'My::Handler::subroutine');
or
$r->push_handlers(PerlHandler => sub { });
or
$r->push_handlers(PerlHandler => \&sub);

pick whichever form you need...

--Geoff

Reply via email to