I have a Perl/Tk application that I've written that has a few scrolling Text box widgets for user entry. The whole application works fine, and copying/cutting and pasting operations between the various text boxes works exactly as it should while the application is running. However, when the application closes, the data on the clipboard is lost. So, for example, if I type some stuff in a box and copy it, I could paste it immediately into notepad. However, if I close the application and then try to paste, the clipboard is empty.
Is there any way to preserve the clipboard data after the application is closed? I doubt that this matters, but I am working on Windows XP (and I am mainly concerned with this application working on Windows machines).
I am using activestate perl v5.008004 for MSWin32 (win32 build 810) and Tk v. 804.027
Thanks in advance for any help!