Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: call a sub from Tcl code in Tcl::pTk
by jcb (Parson) on Apr 29, 2021 at 03:49 UTC | |
Re: call a sub from Tcl code in Tcl::pTk
by LanX (Saint) on Apr 29, 2021 at 11:01 UTC | |
Re: call a sub from Tcl code in Tcl::pTk
by chrstphrchvz (Scribe) on Jan 04, 2022 at 08:27 UTC | |
Re: call a sub from Tcl code in Tcl::pTk
by Marshall (Canon) on Apr 29, 2021 at 04:46 UTC | |
Re: call a sub from Tcl code in Tcl::pTk
by Anonymous Monk on Apr 29, 2021 at 13:28 UTC | |
by LanX (Saint) on Apr 29, 2021 at 13:40 UTC | |
by Anonymous Monk on Apr 30, 2021 at 19:50 UTC | |
by LanX (Saint) on Apr 30, 2021 at 21:19 UTC |