You have label => 'Exit', but you're missing the "-". It should be -label => 'Exit'.
Hope this helps!
(Edit: Removed "add MainLoop", since the code already has it. I must not have copied it...)
--
Mike
In reply to Re: I'm just learning Perl/Tk myself
by RMGir
in thread I'm just learning Perl/Tk myself
by bh_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |