Help for this page
while (1) { ... $mw->update; sleep 1; }
use strict; use warnings; ... # too - handy if you have lots of widgets you need to # control from your functions or methods. }