Hello
I use Tcl::pTk to write Tk Guis instead of outdated Perl/Tk. The module tcl::pTk has the following interesting feature:
my $int = $mw->interp; $int->Eval("..."); _do_something{}
to write directly Tcl code in my Perl script and allow me to use some interesting Tk features not available directly through the module. Is there a way to call a Perl subrutine, in my example _do_something, from that Eval?
In reply to call a sub from Tcl code in Tcl::pTk by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |