Sometimes my system call goes into a never ending state. To, avoid that I want to be able to break out of the call after a specified amount of time.
Is there a way t
How about System::Timeout ?
This module extends system to allow timeout after the specified seconds.
system
timeout("3", "sleep 9"); # timeout exit after 3 seconds