in reply to Re^2: perl tk get user inputin thread perl tk get user input
Maybe you are properly leaving the MainLoop, but Tk does not want to restart it? I don't know. I think the better approach is to not start the MainLoop at all.