vikee has asked for the wisdom of the Perl Monks concerning the following question:
#/usr/bin/perl use Tk; #sub msgb; $mw = MainWindow->new; $mw->Button(-text => "hello", -command => sub {print "hello!\n";})->pa +ck; my $test = 0; if ($test == 0) { my $answer = $mw->messageBox(-icon => 'question', -message => 'Hel +lo World!', -title => 'My title', -type => 'Ok'); } MainLoop;
holli fixed formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MessageBox before mainloop problem
by GrandFather (Saint) on Aug 30, 2005 at 09:40 UTC | |
by aukjan (Friar) on Aug 30, 2005 at 09:51 UTC | |
|
Re: MessageBox before mainloop problem
by zentara (Cardinal) on Aug 30, 2005 at 10:57 UTC | |
by vikee (Sexton) on Sep 02, 2005 at 09:59 UTC | |
by zentara (Cardinal) on Sep 02, 2005 at 11:26 UTC | |
|
Re: MessageBox before mainloop problem
by jdporter (Paladin) on Aug 30, 2005 at 12:53 UTC |