If the goal is to get acquainted with Perl/Tk in particular, the method that put me well on my way very nicely (oh those many years ago) was to just play with and study the demo program called "widget" that is included in the Tk distro.
It really is a very nifty piece of work -- you can browse lots of different widgets (all the important ones, and a fair number of "special" ones), explore different kinds of options and controls, and use the tool itself to look at and even modify the source code while you're playing with it. Just run "widget" from your shell.
Also, look for and try out Tk apps that have been posted here at PM, for a broader sample of coding styles. (You may have noticed that our own zentara is a master of the Tk arts.) Coincidentally, one of my first posts at the monastery was a "fun with Tk" thing: Tk cryptogram (no, not cryptography) -- in fact it was my own "teach yourself Tk" app.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||