From: Johan L. <jo...@ba...> - 2002-05-28 17:21:30
|
At 12:15 2002-05-28 -0400, Morbus Iff wrote: >Yup, I see this in my own scripts. From what I understand, it's equivalent >to Win32::GUI saying "hey! there are no events for me to respond to". I've >done the requisite searching, .pm looking, and so forth, and the only >non-destructive way I stopped the error was to add the following to my script: Maybe if you disable warnings before the call to DoEvents? Like so: { #Introduce a block to limit the lexical scope local $^W; #Localizing it will set it to 0 Win32::GUI::DoEvents(); } #End lexical scope, restore the localized warnings setting Does that work? /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos jo...@ba... Latest bookmark: "Why templating?" http://www.perlmonks.org/index.pl?node_id=135630 dmoz (1 of 5): /Computers/Programming/Languages/Perl |