Re: [perl-win32-gui-users] Event subroutines not called

2006-08-29 Thread Arthur Schwarz
jez; Thanks. I am using packages but denoting that the main namespace be used for subs. This gives me both packages and event handlers. However, using sub refs makes more sense. art --- Jeremy White <[EMAIL PROTECTED]> wrote: > Hi, > > >2. Explicitly putting the event handler into the > >

Re: [perl-win32-gui-users] Event subroutines not called

2006-08-29 Thread Jeremy White
Hi, 2. ExExplicitlyutting the event handler into the nanamespaces in: :: { } I had intentions of replying to your message on the hackers list, but time ran away from me:) Yes, all event handlers end up in the main package (::) - this is fine for most simple/basic apps. For

Re: [perl-win32-gui-users] Event subroutines not called

2006-08-29 Thread Arthur Schwarz
Thanks. I am very puzzled. The code example sent was tested against Win32-GUI-1.03.03 and Perl 5.8.7 under CyCygwinn a Windows XPXPomputer. It didn't work! After struggling a long, long time I discovered my mistake. The event handlers need to be put into the global nanamespacen order for Win32::

Re: [perl-win32-gui-users] Event subroutines not called

2006-08-29 Thread Peter Eisengrein
Works fine for me. Perl v5.8.3 Win-GUI 0.0.558 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of > Arthur Schwarz > Sent: Monday, August 28, 2006 2:20 PM > To: perl-win32-gui-users@lists.sourceforge.net > Subject: [perl-win32-gui-users] Event subrouti