In the context of a Tk GUI, you probably want to check out something called "Tk::after" (I'm not sure how to link to an online man page for that, but if you have Perl Tk installed, just run "perldoc Tk::after")while (1) { # do something, then… sleep( $x ); # maybe do something else... }
In reply to Re: run command every x seconds
by graff
in thread run command every x seconds
by amboxer21
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |