Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 chilling in the Monastery: (3)
As of 2024-09-09 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.