perlfaq nodetype
faq_monk
<P>
Use the
<CODE>alarm()</CODE> function, probably in
conjunction with a signal handler, as documented [perlman:perlipc|Signals] and chapter 6 of the Camel. You may instead use the more flexible Sys::AlarmCall module available from
<FONT SIZE=-1>CPAN.</FONT>
<P>