Updated pods and merge
[sdlgit/SDL-Site.git] / pages / blib-lib-pods-SDL-Timer.html-inc
1 <div class="pod">
2 <!-- INDEX START -->
3 <h3 id="TOP">Index</h3>
4
5 <ul><li><a href="#NAME">NAME</a></li>
6 <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
7 <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
8 <li><a href="#AUTHOR">AUTHOR</a></li>
9 <li><a href="#SEE_ALSO">SEE ALSO</a>
10 </li>
11 </ul><hr />
12 <!-- INDEX END -->
13
14
15
16
17
18 <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p>
19 <div id="NAME_CONTENT">
20 <p>SDL::Timer - a SDL perl extension to handle timers</p>
21
22 </div>
23 <h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p>
24 <div id="SYNOPSIS_CONTENT">
25 <pre>  $timer = new SDL::Timer { print &quot;tick&quot;; 4000; } -delay =&gt; 4000;
26
27 </pre>
28
29 </div>
30 <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>
31 <div id="DESCRIPTION_CONTENT">
32 <p><code>SDL::Timer</code> provides an abstract interface to the SDL::Timer
33 callback code.  SDL::Timer::new requires a subroutine and a delay
34 at which is the initial interval between the creation of the
35 timer until the first call to the subroutine.  The subroutine
36 must return a value which is the delay until the it is called again.</p>
37
38 </div>
39 <h1 id="AUTHOR">AUTHOR</h1><p><a href="#TOP" class="toplink">Top</a></p>
40 <div id="AUTHOR_CONTENT">
41 <p>David J. Goehrig</p>
42
43 </div>
44 <h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p>
45 <div id="SEE_ALSO_CONTENT">
46 <p><cite>perl</cite> <cite>SDL</cite></p>
47
48 </div>
49 </div>