Re: [perl-win32-gui-users] tutorials use strict? use warnings? globals? sender and eventargs? $self?

2008-02-22 Thread David Christensen
jez_white wrote: > Win32::GUI supports two event modles OEM (old event model) and NEM > (new event model). OEM is like visual basic, with the control name > and the event name. So if a button was called "hello" and the button > was clicked, the sub hello_Click would be called. OEM is only sutible

Re: [perl-win32-gui-users] tutorials use strict? use warnings? globals? sender and eventargs? $self?

2008-02-22 Thread jez_white
> To do this have a look at the UserData method. It allows you to > associate data to a window. When you use NEM events the first parm is > the object that the event fired on. Say for example you have a button > on a form, and you have many instances of that form your even handler > would look li