I suspect the problem is somewhere in the layer between your Perl code and Win32. This usually happens when the program calls for a system service in such a way that either (a) the system won't send it messages until that call comes back; or (b) the program can't catch messages because it's busy waiting for the API call to return. The solution is to use either a separate process (Then you have to figure out how to pass the connection around) or a separate thread (not recommended for production, IIRC.) I'd try the thread first. If you wanted to be clever, the thread could put up a progress dialog separate from the main window...
in reply to Tk POE SSL Win32 help
Spring: Forces, Coiled Again!