That looks fine. You don't load the signal handler down with code ( not a big deal with __DIE__ or __WARN__, but a major issue with OS signals). You have a nice try..catch structure. It would be hard to improve on that aspect of your code.
Can the writeLog(), sendEmail(), and sendPage() functions fail? It would be worthwhile to check them if so, and if you can do anything about it.
After Compline,
Zaxo
In reply to Re: ??? proper use of $SIG{ALRM} with SFTP ???
by Zaxo
in thread ??? proper use of $SIG{ALRM} with SFTP ???
by mikedshelton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |