in reply to Updating perl/Tk fluid-like
For recurring calls, Tk::after offers repeat().
In your case, something like:
You may also want to offer a refresh button if the user wishes to get the latest stats.$frame->repeat(30000,\&doit); sub doit { &disk_space; &refresh_tally; }
See "perldoc Tk::callbacks" and "perldoc Tk::after" for more info.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Updating perl/Tk fluid-like
by Anonymous Monk on May 19, 2001 at 23:18 UTC |