You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_tcl-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2003/04/25 19:43:48 UTC
Re: mod_tcl plans
"Dietz, Phil E." <PE...@west.com> writes:
[ Did anyone answer this? I moved back to Italy, so I haven't been
doing much screen time lately... ]
> Are there any plans to allow mod_tcl to run "TCL CGI apps with no
> code changes" similar to how mod_perl can with it's APACHE::PerlRun
> handler ??
> Replacing [puts] with [rputs] is not a viable option for many of
> us....
Why not just replace puts with a wrapper in your code? Tcl is
malleable enough to let you do that very easily.
> Those scripts also require posted data to be sent on stdin, env to
> be set, etc like mod_cgi.
Hrm, the data to stdin think is tougher... Might require some more
wrapping of 'read' and 'gets'.
> At least we'd save the cost of loading the interpreter each time.
I think making standard tcl cgi scripts run is definitely a worthwhile
goal, whether we do it with mod_tcl or Rivet (which is where I spend
my time). Rivet lets you use 'puts', but doesn't do anything about
stdin... you'd still have to wrap that.
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_tcl-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_tcl-dev-help@tcl.apache.org