in reply to call a sub from Tcl code in Tcl::pTk

Could you explain why you want this?

The way to call Perl from Tk is to trigger callbacks, like pressed buttons.

Tcl is used to create the Tk GUI and can also create triggers.

So there are ways, but this smells like a XY Problem

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: call a sub from Tcl code in Tcl::pTk