in reply to Re: Reaped: Re: A way to break if an action is not responding and go to next?
in thread A way to break if an action is not responding and go to next?

OK, but I assumed you were running on Windows, and alarm does not work on any of the Windows implementations I have seen.

Update:BTW, you have lost a trailing '}', and your indentation is messed up. This is how I would have written the conditional:
if ($@ =~ /GOT TIRED OF WAITING/) { my $kill='pskill' \\\\$machine psexesvc"; system ($kill); }
  • Comment on Re^2: Reaped: Re: A way to break if an action is not responding and go to next?
  • Download Code