As one of my precessors said, I'd use Activestate Perl
(Version 806 -> .msi), because there is Tk alread integrated.
Perl under Windows is about the same as unter Linux, if you don't rely on external programs or interfaces (but nearly all of the plattform-independend modules run fine). Under Windows, scripts are not called by the Shebang-line, but by associating the ending of the script (e.g. .pl) to perl (which is done automatically by the installer).
For getting rid of the nasty shell-window with tk-Scripts when the script is running, I'd rename the extension to something like .ptk and associate it with wperl.exe, about like in the following (be sure to adapt paths to your perl/bin-Directory) typed in the shell (cmd.exe on winNT/2k/XP; I don't know if this also works with command.com under Win9x/ME):
After that, you can just execute your script by double-clicking on it, or typing it's name (e.g. script.ptk in the shell).
Some time ago, there were problems with geometry management under Win9x/ME, but not under WinNT/2k/XP. (e.g. if you resized a window) But I don't know if they have already been fixed, because I haven't written anything for Win9x/ME for ages.
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v22.214.171.124.11.32"
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||