http://www.perlmonks.org?node_id=964547


in reply to Re: trying to get timeout to work
in thread trying to get timeout to work

The problem with this is that the alarm signal will then simply kill the script... (which is the default action for SIGALRM)