tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronnie Brunner <ron...@netcetera.ch>
Subject Re: putx {= bug
Date Fri, 28 Dec 2001 12:50:01 GMT
> The above is also wrong, and would cause errors - it would have to be:
> 
> web::put [web::response] [subst %s]
> 
> (this was the error that I filed the bug about)

This should not be an error:

     web::put [web::response] [subst %s]

should be exactly the same as

     web::put [subst %s]

if no channel is given to web::put, web::put will always send to the
current channel (which is [web::response]). This is the whole idea of
web::put: redirect the channel and run the same code to create a file
or send output to the web!

------------------------------------------------------------------------
Ronnie Brunner                               ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 79 Fax: +41 1 247 70 75

Mime
View raw message