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