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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|