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

Hello, I would like to create a process that kills the current perl program after a certain amount of inactivity, when the user presses a key the timer begins again. If anyone has ideas, I would appreciate it. Thank you!

Replies are listed 'Best First'.
Re: Secondary Process
by particle (Vicar) on May 14, 2002 at 16:55 UTC
    on unix, look at alarm, on win32, look at Win32::Event. for a portable solution, you need to work a little harder... ;P

    ~Particle *accelerates*

      Thank you, I will give it a try.