Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Interrupting a loop

by merrymonk (Hermit)
on Jul 28, 2024 at 13:42 UTC ( [id://11160788]=note: print w/replies, xml ) Need Help??


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.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11160788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2026-02-06 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.