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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to