[Israel.pm] mod_perl question: Ending an apache request with an OK status inside a PerlFixupHandler?

Yuval Yaari yuval at windax.com
Thu Apr 29 03:13:13 PDT 2004

Pinkhas Nisanov wrote:

> I also did this mistake and every time when I changed
>"handler" function it took me about half hour to find
>why it stop work. I think best way return apache status
>only from "handler" function, it organize code much better.
>Many times I use "apache" modules for offline tasks.
You mean something like [from within the handler subroutine]:

return Apache::Constants::DONE();

I might re-write it like that...

>I never did it, but I think "Apache::exit()" will help you:
This is too brutal :)


More information about the Perl mailing list