I have spent more than 1 day on this bug and I have completely no idea why I have this problem. In my program there are also other subroutines which display popup windows but none of them have this problem. I notice that to display other pop-ups I used $main->Show;, probably that's why I never encountered this problem?
Is there any other way of displaying this selection box without having to write MainLoop; at all? So far I have tried 2 ways as shown in the code but they all hang. I'm using Perl 5.8.4 and I can't install any additional library.
In reply to Re^4: Perl Tk unable to return from MainLoop when implemented in a subroutine
by ngocanh
in thread Perl Tk unable to return from MainLoop when implemented in a subroutine
by ngocanh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |