=head1 Win32::GUI Tutorial - Part 4 - Further Features of Win32::GUI =head2 Timers Many types of application need to be able to perform an action at regular intervals. The obvious example is a clock application, but other examples might be =over 4 =item * A file viewer, which watches at regular intervals to see if the file being displayed has changed, and shows the new contents if it has. =item * A monitor application (like the WIndows NT performance monitor) which displays updated information every second. =item * A network "ping" utility, which polls a remote server at regular intervals, to see that it is still running. =back Adding a timer to your application is easy. All you do is call the AddTimer() method on the window you want to "own" the timer. When the timer expires, its C event is fired, which you can catch in the normal way. For example, $t1 = $main->AddTimer('T1', 1000); sub T1_Timer { print "Timer went off!\n"; } Some things to note: =over 4 =item * The AddTimer() method takes two explicit parameters, the timer name and the interval (in milliseconds). The normal C