At 08:33 2002-11-22 +0100, Jerome Martin wrote:
I'have installed Win32-GUI 0.0.665 under mi Win2000 with ActivePerl 5.6.1. And got the following messages. What is the problem ?


c:\>perl
use Win32;
use Win32::GUI;
Prototype mismatch: sub main::MB_ICONEXCLAMATION () vs none at C:/ActivePerl/lib/Exporter.pm line 57.

It's a clash between Win32 and Win32::GUI that appeared in Perl 5.6.1 I think. Either Perl broke something, or the Win32 changed. I suspect the latter.

use Win32 ();

will solve the problem. The effect of the () is that no symbols are imported from the Win32 module. If you still need some of them, specify them as

use Win32 qw( MY_SYMBOL );


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "O'Reilly Network Patterns, Hype, and Snobbery..."
http://www.oreillynet.com/pub/wlg/2341
dmoz: ...mming/Methodologies/Patterns_and_Anti-Patterns/ 164



Reply via email to