Heh, thanks. That fixed the problem. Should note to the developers of Win32::GUI that is a problem I guess. That should have returned a syntax error not a crash of the interpeter.
Well it couldn't be a syntax error, because syntactically, Perl doesn't know you should have a name for your label. It would have to be some kind of runtime error in the Win32::GUI module. But I do agree that it could have been caught without crashing the program.