http://www.perlmonks.org?node_id=1212404


in reply to Tk vs Tcl::pTk speed image

Hi,

I find no speed difference between the two

tcl-ptk-version.pl

tcl_version 8.6 tcl_patchLevel 8.6b1.2 tk_version 8.6 tk_patchLevel 8.6b1.2 tk_library C:/Tcl8.6/lib/tk8.6 Tcl::pTk 0.90 Tcl 1.02 Tk 804.033 Perl $^V v5.16.1 Perl $] 5.016001

Replies are listed 'Best First'.
Re^2: Tk vs Tcl::pTk speed image
by Anonymous Monk on Apr 06, 2018 at 10:22 UTC

    Thank you for pointing out how to get info about the Tcl installation (I am a newbee with Tcl!). It turns out I am using an older version (actually I never installed Tcl. My version must come together with Tcl::pTk?!?). With my ecosystem I can create an .exe with PerlApp without problems (beside the speed problem which is not bearable).

    tcl_version 8.5 tcl_patchLevel 8.5.13 tk_version 8.5 tk_patchLevel 8.5.13 tk_library C:/Perl/lib/auto/Tcl/tkkit.dll/lib/P-win32-ix86/tk8.5 Tcl::pTk 0.92 Tcl 1.02 $^V v5.16.3 $] 5.016003

    I'll try to find out how update Tcl (and make it work together with PerlApp which I fear it will not be easy...). How can you tell Tcl::pTk WHERE to look for Tcl? I can not find any mention of this.

Re^2: Tk vs Tcl::pTk speed image
by Anonymous Monk on Apr 06, 2018 at 11:11 UTC

    Which Tcl distribution are you using? I cannot replicate your ecosystem no matter how I try...