Hi!

If I

        #! perl -w

in a script that uses Win32::GUI, I get lots of

        Use of uninitialized value in subroutine entry at <file> line 
<something>

where <file> is the name of the script and <something> is a line that says:

        Win32::GUI::Dialog();

The messages occur as I move the mouse around over the dialog.

I know that somebody asked about this a few weeks back, but I don't recall
seeing a fix. I tried playing with the $^W variable around the call to
Win32::GUI::Dialog() but that didn't help. I also tried playing with "use
warnings" but that didn't help.

The only way I have been able to make the messages stop is to not put the
"-w" on the shebang line. That's fine for "production" but it's a pain
during development.

Does anyone know a way around this problem?

I'm running 0.0.502 in case that matters.

Thanks!

--- Tom
Tom Allebrandi
[EMAIL PROTECTED]




Reply via email to