How do I timeout a slow event?
Use the
alarm
function, probably in conjunction with a signal handler, as documented
Signals
and chapter 6 of the Camel. You may instead use the more flexible Sys::AlarmCall module available from
CPAN.
Back to
How do I find out if I'm running interactively or not?
Forward to
How do I set CPU limits?
Up to
the perlfaq8 manpage