tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: terminating script
Date Tue, 08 Jan 2002 11:35:30 GMT
"yahalom emet" <yahalom@zvia.org.il> writes:

> how can I terminate the script before its ending?

> I use mod_dtcl for generationg xml as a server. when I get bad xml
> request or other wrong request params I want to terminate the
> execution. I need the ending in many places so doing if/then is
> quite clumsy. isn't there a replacement fot the exit command?

'return' seems to do an ok job of bailing out, although I'm not sure
it's perfect.  Have you tried it?

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Mime
View raw message