Re: Variable ontology (was: Q: Pointers in TCl _________________________________________________________________ From steve@tcltk.anu.edu.au (Steve Ball) Organization Plume Project, DCS, ANU Date 6 Apr 1998 09:32:58 +1000 Newsgroups comp.lang.tcl Message-ID <6g94ba$f2@dcs-reserved3.anu.edu.au> References 1 _________________________________________________________________ In article 1@Starbase.NeoSoft.COM, claird@Starbase.NeoSoft.COM (Cameron Laird) writes: > The two domains > that seem likely to me are some kind of CGI template > expansion, and processing of a configuration-speci- > fication-that-is-written-as-an-executable-script. For the latter I use eval. However, subst is useful in many ways, particularly where you want to process data values in-situ. CGI does not use subst at all (as Don has pointed out), but Tcl templates / microscripting does (this is where you embed Tcl scriptlets in a HTML doc to be evaluated at delivery time by the Web server). I'm using Tcl microscripting more and more for my Web pages. When processing HTML pages, resolving character entities uses subst. Eg: