Please wrap code in <code> or <c> tags. Writeup Formatting Tips
You did not mention what OS this is running but it won't work as written on Windows: http://perldoc.perl.org/perlport.html#alarm.
On other operating systems, it's also possible that safe signals is preventing it from working: http://perldoc.perl.org/perlipc.html#Deferred-Signals-(Safe-Signals).
Update: You might want to read https://metacpan.org/pod/DBI#Signal-Handling-and-Canceling-Operations.
In reply to Re: Using Alarms for MySQL DB
by Mr. Muskrat
in thread Using Alarms for MySQL DB
by satishkumaryarru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |