but i getting the following error while pressing the button even though i have Tk-804.028_501 installed along with my perluse Tk; use strict; my $mw = MainWindow->new; $mw->geometry("500x200"); $mw->title("All-In-One Test"); my $but=$mw->Button(-text=>"press",-command=>"\&newwindow")->pack(); sub newwindow(){ my $popup=$mw->Toplevel()->pack(); } MainLoop;
In reply to perl/Tk error by perlplayer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |