If your not using Active State Perl, take a look at pelrfunc:alarm function.
If you are using AS then you'll need to fork and use sleep in the child process and then the waitpid or similar methods to acheive this. A super search for "alarm Win32" should get you several hits where this has been discussed before.
Examine what is said, not who speaks.
The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In reply to Re: timers in perl
by BrowserUk
in thread timers in perl
by chame1e0n
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |