NaSe77 has asked for the wisdom of the Perl Monks concerning the following question:
i'm quite sure, that this is quite an idiotic question but i just can't figger it out:
i have written a little frontend with Tk for another script of mine:
where :sub go{ open (CHILD,"-|")||exec "perl script.pl"; while (<CHILD>){ $main->update; next if m/^\s*$/; chomp; s/^\s*DEBUGG(.+):\s*(\S)/\U$2/; $status->configure(-text=>"$_"); } close CHILD; $status->configure(-text=>"Status area"); }
but as my "script.pl" doesn't have a permanet outputflow the update/redraw is not made continously ...
How can I cause a continous redraw - like all 0.5 sec or something like that?
NaSe
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Redraw windows
by Rich36 (Chaplain) on May 03, 2002 at 20:11 UTC | |
by NaSe77 (Monk) on May 06, 2002 at 14:06 UTC | |
by Rich36 (Chaplain) on May 06, 2002 at 14:15 UTC |