![]() |
|
more useful options | |
PerlMonks |
Using Win32::GUI in a packageby Nitrox (Chaplain) |
on Dec 15, 2002 at 15:51 UTC ( #220011=perlquestion: print w/replies, xml ) | Need Help?? |
Nitrox has asked for the wisdom of the Perl Monks concerning the following question:
I'm sure I'm overlooking something obvious but I've banged my head on the keyboard for long enough. Below I've included a small test case to demonstrate my dilemma. Its a simple script that displays a dialog window which contains a single button. Clicking the button or the 'close app' icon (small 'X' on the title bar) should end the program run. It works as expected until I uncommment the package declaration line. At that point the button clicks are no longer recognized and using the 'close app' icon only hide()'s the window and doesn't properly call the *_Terminate function. Is there something I'm doing wrong or is it an issue with Win32::GUI accessing package level items even though the session was initiated from the same package? -Nitrox
Back to
Seekers of Perl Wisdom
|
|