On 11/1/99 2:32 AM, Doug MacEachern wrote:
> or use this undocumented feature:
> 
> $Apache::ERRSV_CAN_BE_HTTP = 1; #set this anywhere, startup script is best
> die FORBIDDEN;
> 
> mod_perl peeks at $@, if it's a 3 digit http status code, it propagates
> that value to Apache.

Sounds great, but I'm hesitant to use "undocumented features."  Will
anything like this ever make it into the official spec?  For now I'm
using eval, I guess, but I'm all for official support for this
functionality! :)  Of course, the method could be a bit more friendly.
I mean, no one likes seeing "SV" on the Perl side of things, even if
it is just a variable name ;)

-John

Reply via email to