in reply to Re: Interrupting a loop
in thread Interrupting a loop

Thank you. I had not come across Tk->repeat etc before.
So I now have my interruptible Perl Tk app working now.

Replies are listed 'Best First'.
Re^3: Interrupting a loop
by merrymonk (Hermit) on Jul 30, 2024 at 10:32 UTC
    The reason I wanted CNTR-C to work was that the Buttons on my Tk GUI would not respond when the loop was processing.
    I now have found that using the Tk repeat for the loop means that I can use the Buttons.
    So the solution was even better than I first thought.
Re^3: Interrupting a loop
by jdporter (Paladin) on Jul 28, 2024 at 14:08 UTC

    You should be using <br/>, not </br>. TIA. (I fixed your root post already.)