in reply to Applications of Perl\Tk

Tkx is included in ActiveState ActivePerl now. The nice thing about it is that it works on Windows 64 bit platforms and you don't have to worry about compiling Perl/Tk which is tricky on a server with no web access (for me anyway). I'm no expert but it also seems nice because you can use the Tk documentation once you learn to translate the punctuation and you get everything in Tk instead of what has been ported to Perl/Tk.

For a unix flavor you should have Tcl already but for Strawberry Perl you need to install Tcl to use Tkx.

Update: Tkx is not the same as Perl/Tk. Tkx is a module that lets you interface to Tk/Tcl directly instead of using Perl/Tk.

Replies are listed 'Best First'.
Re^2: Applications of Perl\Tk
by Marshall (Canon) on May 13, 2011 at 15:50 UTC
    ActiveState doesn't include Tk anymore in standard distribution. But it is available as a package that you can install with ppm over the web. Or, if you get the .ppd file, you can take that over to a target machine via sneaker net and install it that way - no compile necessary, at least not for 32 bit. Maybe there is some glitch with 64 bit - don't know as I am still only 32 bit.

      ActiveState doesn't include Perl/Tk anymore. ActivePerl 5.10 and greater come with Tk, Tcl and the module Tkx to talk to them.

      Sneakernet would take a while since my target servers are hundreds of miles away, virtual and in a blade setup which I would need help with anyway. I'm remoting into the servers. There is definately a glitch with 64 bit when the compiler isn't setup correctly. I have tried. I had no trouble with Strawberry Perl on my laptop compiling Perl/Tk but that wasn't useful if applications wouldn't work on the target. Then I discovered Tkx.

        So if I want to create GUI using perl what is advisable to use? Tcl or Tk or Tkx?..

        I know there is no harm in learning anything, however if I am learning it I want it to be usefull in my profession