On Mon, 2004-07-26 at 14:52, Stas Bekman wrote:

> All handlers require a return status. You can read more about this here:
> http://perl.apache.org/docs/2.0/user/handlers/intro.html#What_are_Handlers_
> http://perl.apache.org/docs/2.0/user/handlers/intro.html#Handler_Return_Values
> 
> In Perl if you don't have an explicit return() call in a subroutine, the 
> result of the last expression is used as a return value. so your other 
> subs had happened to work if they were returning an Apache::OK (whose 
> int value is 0).

That makes complete sense (Thank You), but I'm still a bit unclear as to
why another mp2 script, ending in a print statement, does not exhibit
this- although I suppose I should just put in a proper return value and
move on.

Thanks again to all who replied.

-- 
-------------------------------------------------
 Garrison Hoffman, Technology Consultant
 (718) 210-3445       http://codefix.net
-------------------------------------------------


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to