The regular old perl TK module is not "dead now" -- it is still being maintained. I would guess it's one of the first things many people who learn programming via perl make use of, it is not particularly difficult or awkward as far as GUI stuff goes, I've done great things with it and I am sure plenty of people still use it.

You should understand that TK and TKx are both just perl interfaces to the same system Tcl/Tk library. In other words, if there is any "advantage" of one over the other, it is purely in terms of the style of the perl interface. From looking at the Tkx CPAN page, it appears the author simply wanted one which presents more transparent access to the Tcl library. If you are not a Tcl programmer (Tcl is another interpreted language like perl) then that may be somewhat irrelevant for your purposes.

To put it another way: this is the same as the difference between doing (eg) a GTK application in python vs. a GTK app in perl: the end result will be identical and uses the exact same system libraries. They are both GTK applications. So, if you have a good book on the TK module (I also prefer books), just use that as I suspect you will have to wait a long time before you find any books specifically on TKx (like, forever...). This is from the TKx CPAN page:

The main idea behind Tkx is that it is a very thin wrapper on top of Tcl, i.e. that what you get is exactly the behaviour you read about in the Tcl/Tk documentation with no surprises added by the Perl layer.

This makes sense if you want to use the Tcl/Tk (non perl) documentation to learn Tk, which online is probably more extensive. But if you want to learn it out of a book called "Mastering Perl TK" then it is a non issue. Hence, the book is only "no longer relevant" if you are sure you'd prefer the other module for some reason -- do you have any concrete reasons for that? If so, there are books on Tcl/Tk, but that seems very awkward to me as there will be no perl in them. You might as well just learn Tcl...

In reply to Re: Perl TK by halfcountplus
in thread Perl TK by slacker

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.