Not TK. TCL. TK is the widget set, originally developed for use with TCL, but now serving as a standalone X toolkit, including bindings for TCL, Perl, Python, and
perhaps others.
The "expect" program was written by Don Libes, and initially scriptable with TCL.
-- Randal L. Schwartz, Perl hacker