SDL::Timer3pm
A sdl perl extension to handle timers
Usage
$timer = new SDL::Timer { print "tick"; 4000; } -delay => 4000;
Overview
"SDL::Timer" provides an abstract interface to the SDL::Timer callback code. SDL::Timer::new requires a subroutine and a delay at which is the initial interval between the creation of the timer until the first call to the subroutine. The subroutine must return a value which is the delay until the it is called again.
Releases
5 releases since Debian 3.0 (Woody); the text changed 4 times.