On Mon, 1 Nov 1999, John Siracusa wrote:

> 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 ;)

well, it's only undocumented and awkward to enable because I wasn't sure
how useful the feature would be.  it's in the code base for when the need
arises, like right now, so try it, if it's useful then it can be
documented, etc.

Reply via email to