<?xml version="1.0" encoding="windows-1252"?>
<node id="72286" title="Re: Tk on Win32" created="2001-04-13 02:51:00" updated="2005-08-10 15:26:50">
<type id="11">
note</type>
<author id="70929">
atcroft</author>
<data>
<field name="doctext">
I tried running it on ActiveState build 618, and got the same results as you-nothing. So I decided to try it from the command line with -w for warnings, and got:&lt;BR&gt;&lt;BR&gt;

C:\WINDOWS\Desktop&amp;gt; perl -w tk1.pl&lt;BR&gt;
Useless use of a constant in void context at tk1.pl line 5.&lt;BR&gt;
Use of uninitialized value in concatenation (.) at C:/Perl/site/lib/Tk.pm line 350.&lt;BR&gt;
Use of uninitialized value in concatenation (.) at C:/Perl/site/lib/Tk.pm line 350.&lt;BR&gt;&lt;BR&gt;

Line 5 was the line you have as "Mainloop;" -when I changed this to "MainLoop();", it worked for me. Trying "-w" gave only:&lt;BR&gt;&lt;BR&gt;

C:\WINDOWS\Desktop&amp;gt; perl -w tk1.pl&lt;BR&gt;
Use of uninitialized value in concatenation (.) at C:/Perl/site/lib/Tk.pm line 350.&lt;BR&gt;
Use of uninitialized value in concatenation (.) at C:/Perl/site/lib/Tk.pm line 350.&lt;BR&gt;&lt;BR&gt;

I did get the button you intended, then.&lt;BR&gt;</field>
<field name="root_node">
72276</field>
<field name="parent_node">
72276</field>
</data>
</node>
