in reply to Tk in CGI

Well, not technically CGI, nor Perl (though you can use Perl/CGI for dynamic Tcl/Tk code generation): there is a Tcl plugin that you can install in your browser, but it doesn't seem to be maintained anymore (last release in Jan 1998).

Update: From the web page:

Note from Hobbs: This plugin information is old. ActiveState has reengineered the plugin. It works with MSIE 4+ and Netscape API compatible plugins across platforms (Netscape, Mozilla, Opera, ...). Binaries can be found as part of the Tcl Dev Kit starting with version 2.5 (the plugin is an unlicensed component), or the sources can be found at the Tcl plugin SF project.

See this for newer development on the plugin. No releases, just CVS.