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.
In reply to Re: Run another program without blocking or exiting (Perl/Tk).
by BrowserUk
in thread Run another program without blocking or exiting (Perl/Tk).
by jdtoronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |