> Tonight I really started to build a serious heavy-duty Win32::GUI
> application, and I immediately hit a wall:

I had no problems with "use strict" (you can have a look at my source code
http://sourceforge.net/projects/auctioneer/)

But I hit a wall with Win32::GUI in connection with Win32::OLE!

When using Win32::OLE and a Win32::GUI, you will get an "Can't locate
auto/....al" error.

Peter

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Mark Wilkinson
> Sent: Sunday, November 04, 2001 1:31 AM
> Cc: perl-win32-gui-users@lists.sourceforge.net
> Subject: [perl-win32-gui-users] ACK!! Sputter Cough... say it isn't so!
>
>
> Someone please... save me before I choke!  Please say it isn't so!!
> Tonight I really started to build a serious heavy-duty Win32::GUI
> application, and I immediately hit a wall:
>
> Is it really not possible to (usefully) program in Win32::GUI while under
> "use strict"?!?  I say this because there appears to be **nothing** passed
> to the event-handling subroutines - not even a reference to the widget
> itself!  This, IMHO, is absolutely insane!  That means that all of my
> widget refs, and every variable that is required in the event-handling
> subroutines, have to be global variables...  which would make comp-sci
> professors roll over in their future graves... a "good" program should
> never need to have a *single* global variable, let alone *every* variable
> being global.  If even the widget ref was sent to the
> event-handler I could
> attach the subroutine's required variables to its hash, but as things are
> it seems to break every rule I know about "good" programming style.
>
> I must be missing something... Please, someone, tell me that it doesn't
> really work this way...
>
> Mark
>
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>


Reply via email to