tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: terminating script
Date Tue, 08 Jan 2002 11:35:30 GMT
"yahalom emet" <> 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
Free Software:
   Apache Tcl:

View raw message