Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello

I'm porting a Perl/Tk application from the Windows to the OS X world. I noticed that the look on OS X (requiring X11) is ... horrible. Much much orst than on Windows. So I am thinking about alternatives. Recoding from scarch ould be a pain. I have a couple of questions for you.

  1. I read that Tk is on its 8.5 version. Why do I find only the 8.4 version with Perl (cpan, Activestate)?
  2. I guess the closest thing to Perl/Tk is Tkx. Anyone experienced ith translating any big project? Is it a big pain?
  3. Any alternatives to reduce the recoding time, still having a decent good looking app? I thought abaout Tcl::pTk but I was not able to install it (still trying to figure out why)

Replies are listed 'Best First'.
Re: Perl Tk 8.5
by $h4X4_|=73}{ (Monk) on Jun 16, 2016 at 22:17 UTC

    I read that Tk is on its 8.5 version. Why do I find only the 8.4 version with Perl (cpan, Activestate)?

    You need to use perl version 5.10 or higher to get 8.5 Tk tutorial

    I guess the closest thing to Perl/Tk is Tkx. Anyone experienced ith translating any big project? Is it a big pain?

    They say...
    "The "ActivePerl" distribution from ActiveState includes not only Perl, but also recent versions of Tk and Tcl (which Tkx uses internally to talk to Tk)."

Re: Perl Tk 8.5
by Anonymous Monk on Jun 17, 2016 at 00:06 UTC

    I read that Tk is on its 8.5 version. Why do I find only the 8.4 version with Perl (cpan, Activestate)?

    Because Tk.pm is based on the 8.4 version only

    I guess the closest thing to Perl/Tk is Tkx. Anyone experienced ith translating any big project? Is it a big pain?

    No, the closest thing is Tcl::pTk, it depends on tix/ctext/plotchart for looks

    Tkx is the worst possible option

    Any alternatives to reduce the recoding time, still having a decent good looking app?

    Use a browser as the GUI?

Re: Perl Tk 8.5
by SimpleMonk (Sexton) on Jun 17, 2016 at 02:10 UTC
    Any alternatives to reduce the recoding time, still having a decent good looking app?
    I understand that you want to keep re-coding to a minimum, but have you considered gtk-perl for a richer interface?
      That is like an entirely different API, that is maximum re-coding