in reply to Re: perl tk get user input
in thread perl tk get user input

But, I am able to destroy the window, but the control is not coming back to the calling function.


All is well. I learn by answering your questions...

Replies are listed 'Best First'.
Re^3: perl tk get user input
by Corion (Patriarch) on Jul 04, 2019 at 10:46 UTC

    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.