Until "safe Perl signal handlers" gets rolled out in a future version of Perl, I'd avoid this type of solution as each instance of a Perl signal handler running introduces a small but non-zero chance that Perl will corrupt some of its internal structures, eventually leading the script misbehaving.
- tye (but my friends call me "Tye")In reply to (tye)Re: Scheduling internal functions/processes to run within a program (like cron does programs)
by tye
in thread Scheduling internal functions/processes to run within a program (like cron does programs)
by BMaximus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |