aplonis has asked for the wisdom of the Perl Monks concerning the following question:
I have need for Tk to start performing a given event every N seconds on command. Like so...
my $sub_ref = sub { do...something }; $mw->repeat(1000*60, $sub_ref);
But it goes on forever, which is inconviently long...
So my question is... Once a $foo->repeat() has started, can I stop it afterwards? And if so, how?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Interrupting Tk repeat() method
by pg (Canon) on Sep 18, 2005 at 16:38 UTC | |
by zentara (Cardinal) on Sep 19, 2005 at 10:55 UTC | |
|
Re: Interrupting Tk repeat() method
by Errto (Vicar) on Sep 18, 2005 at 16:33 UTC | |
|
Re: Interrupting Tk repeat() method
by zentara (Cardinal) on Sep 19, 2005 at 10:47 UTC |