perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Chamas <j...@chamas.com>
Subject Re: Followup Re: Weird Apache::ASP Error
Date Mon, 12 Jan 2004 03:42:25 GMT
Tim Pushor wrote:
> Duh, Apache::ASP doesn't seem to like exit's from the script. my bad.
> 
> I am trying to keep the script as generic as possible so it would be 
> able to run under CGI.PM. I just tried using a return from the main 
> script and it worked fine. Is this the recommended approach to exiting a 
> script midstream?
> 

Exiting a script midstream is best by doing $Response->End, however
doing a return() is fine to exit the script or an include for that matter,
as includes are also compiled into subroutines.

Regards,

Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checker                 http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message