The book of which you complain was getting old, 10 years ago. It was the first Perl/Tk book written back in the heady days of the first Perl5's.... in other word it is obsolete and nobody cares. The book that is normally recommended by those who actually read the books, is Mastering Perl/Tk by the late Nick Ing Simmons.

Mr. Simmon's passing brings up another point about Perl/Tk, no one is actively pursuing improving the Perl/Tk port of the TCL/Tk..... Slaven Reszic is maintaining the latest Tk version, but it is starting to split off.... i think the Window's ActiveState ( which came with Tk built-in ) is now shipping their own spinoff called Tkx.

But it really dosn't matter.... if you want the latest, best, and most actively developed.... use Gtk2 or Wx ..... Tk still works, but it is falling behind Gtk2 fast like an old man chasing an 18 year old. :-) See Gtk2 free tutorial

If you can post a small code example, of code that has this exit problem, and state your Tk version, someone may know an answer..... install the latest version of Tk from cpan too.... it always pays to have the latest libs


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

In reply to Re: Perl/Tk exit trouble? by zentara
in thread Perl/Tk exit trouble? by Hengist

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.