in reply to MessageBox before mainloop problem

When I run your code as posted, but changing $test to be 1 I get two windows opened. One with the title "My title" and an OK button. The other is titled "Noname" and has a hello button. Clicking OK dismisses the "My title" window and leaves the "Noname" window. The "Noname" window is not active until the "My title" window is closed.

Could it be that your "My title" window is hidden behind another window and that is why you program seems to freeze?

My testing was with Windows XP


Perl is Huffman encoded by design.

Replies are listed 'Best First'.
Re^2: MessageBox before mainloop problem
by aukjan (Friar) on Aug 30, 2005 at 09:51 UTC
    I ran this code on Linux and the exact same thing happend as GrandFather described, but I did not change test to be '1'... I just left it at '0'.

    Go Fish!