http://qs321.pair.com?node_id=324176

hotshot has asked for the wisdom of the Perl Monks concerning the following question:

Hi guys!

I have an external script that I run from my Perl script using system(). I need a timeout mechanism, that will wait a given time on the execution of the script. If the script isn't finished (returned to my perl script) until this timeout passes, the perl script will be back in control and continue from the SAME SPOT (display warning to screen and continue).
In any case failure/success in running the script in the given timeout, I want to continue from the same spot.

Can anyone help me with that one?

Thanks