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


in reply to Re: How can I install Tk perl module in 32-bit operating system and Windows7 ?
in thread How can I install Tk perl module in 32-bit operating system and Windows7 ?

This is excelent advice unless the OP already knows Tk and/or wishes to use existing Tk applications which ran under older versions of ActiveState perl.

Does anyone know of tutorials for converting Tk apllications to Tkx?

Bill
  • Comment on Re^2: How can I install Tk perl module in 32-bit operating system and Windows7 ?

Replies are listed 'Best First'.
Re^3: How can I install Tk perl module in 32-bit operating system and Windows7 ?
by Anonymous Monk on Nov 05, 2013 at 07:45 UTC

    Does anyone know of tutorials for converting Tk apllications to Tkx?

    See Tcl::pTk

    Whatever joy Tk might have brought you, Tkx is sure to take away

    Converting one to the other is madness

      In my understanding, the direct access method of Tcl::pTk appears to be functionally similar to Tkx. The goal of Tkx was to just put a thin abstraction layer and allow effectively direct access to Tk from perl. Not having enough experience with Tk either directly or with Perl::Tk, I can't speak to how effective it is.

        ... functionally similar ...

        Its functionally superior but the namespace/syntax changes/inconsistencies/kludges will drive you mad

        I've written many hundreds small less than 100 lines Tk programs, and about 10-20 Tkx ones ... Tkx hurts so much its not funny

        In theory it sounds great, but whatever edge Tk.pm gives you in terms of perlishness/memorability/quickness Tkx just rips it out with the inconsistency

        Tcl::pTk makes it bearable but needs more than Tcl::tkkit

        I stick with Tk

        If I absolutely must have the new Tcl/Tk widgets (which is never) I'll go for Tcl::pTk, but otherwise stick with Tk.pm

        Tkx -- never again voluntarily (only for massive cash)

        Re: TclTk interface with Perl code, is it possible? Re^2: GUI toolkit+designer for the perl newbie