See Re^3: trying to get timeout to work (easier with threads).
The start of some sanity?
In reply to Re: Stop Command In Perl by BrowserUk in thread Stop Command In Perl by anshumangoyal