in reply to Run another program without blocking or exiting (Perl/Tk).
my $mw = MainWindow->new; .... $mw->repeat( 100, sub{ ## This sub is called every 1/10 th of a second } );
I'd give a pointer to the documentation for repeat, but I have never found it. I saw it in a program once and just use it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Run another program without blocking or exiting (Perl/Tk).
by ikegami (Patriarch) on Sep 02, 2005 at 08:24 UTC | |
by BrowserUk (Patriarch) on Sep 02, 2005 at 08:50 UTC | |
|
Re^2: Run another program without blocking or exiting (Perl/Tk).
by thundergnat (Deacon) on Sep 02, 2005 at 10:45 UTC |