Thanks for trying, but this right here is the heart of the matter. Id be using alarm to time a certain thing. It seems to me, any explanation of how to do that, be it plain English or sample code has to incorporate that thing. My program in a nutshell goes: Blah blah blah the beginning part require someprogramthatmayhaveaninfiniteloop.pl Blah blah blah the ending part Note thats not the literal code. :) As it stands if someprogramthatmayhaveaninfiniteloop.pl does go on forever I will never get to the ending part. How would one add alarm to this such that the ending part gets executed regardless? Fred Kittelmann > Where is the thing being timed? I understand something is being given 5 > seconds, but what?
Hm... somebody else may explain this much better than I; --------------------------------- Any questions? Get answers on any topic at Yahoo! Answers. Try it now.