It looks and works perfectly as far as I can tell. Its a bit hard-wired with that 5 seconds... but as a demo it works great :)
Is it possible to say $SIG{ALRM} = \&wake_up(5) by chance?
--awwaiidIn reply to RE: Using Alarm to Handle Timing
by awwaiid
in thread Using Alarm to Handle Timing
by chromatic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |