Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Breaking from a foreach loop, returning to position

by Athanasius (Archbishop)
on Aug 26, 2015 at 16:43 UTC ( [id://1140075]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Breaking from a foreach loop, returning to position
in thread Breaking from a foreach loop, returning to position

I have a button (Perl/Tk) that, ideally, will halt the process, and when clicked again it continues the process.

You may find this post by BrowserUk to be useful:

Re^3: Tk and Threads

— it shows how a button can be used to pause and resume a thread.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

  • Comment on Re^3: Breaking from a foreach loop, returning to position

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-16 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found