Re: apache2::reload causing 500 errors on return statement
Perhaps you could paste us some of the code in IndexHandler.pm,
what does it do ?
is it a PerlResponseHandler ? (just trying to guess by the name)
In which case, wouldn't Apache2::Const::HTTP_OK be more appropriate ?
Le 18 oct. 06 =E0 16:59, Michael Greenish a =E9crit :
> I just added apache2::reload to config & handlers, classes, =20
> packages for my application. However, everywhere I have "return =20
> OK", I get an error:
> "Not a CODE reference at /http/greanie/IndexHandler.pm on ..."
> and request returns the page and a 500 error (in browser, I see =20
> rendered page plus 500 error at bottom). Can I not use =20
> Apache2::Reload in the handler?[/color]