Boysenberry Payne wrote:
> In the example at:
> http://perl.apache.org/docs/2.0/user/handlers/ 
> server.html#C_PerlPostConfigHandler_
> 
> the PerlPostConfigHandler subroutine returns Apache2::Const::OK.
> 
> I was wondering if it mattered what it returned, and if so, what are  
> the alternatives?

It matters, only OK is a valid return value from that stage. Otherwise,
you'll get this helpfull error message:

[error] Callback 'MyCallback' returned 404, whereas Apache2::Const::OK (0) is 
the only valid return value for PerlPostConfigHandler handlers

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to