in reply to Do Perl Programs Timeout on Their Own

Did you run this from a terminal, in the foreground? Perl programs themselves don't time out, but if they are run from a terminal and the terminal times out, the OS will kill the foreground process.

  • Comment on Re: Do Perl Programs Timeout on Their Own

Replies are listed 'Best First'.
Re^2: Do Perl Programs Timeout on Their Own
by ahuang14 (Novice) on Jul 21, 2011 at 13:25 UTC
    I ran it on Windows in a command prompt but it never timed out.

      Your program needs to maintain some kind of a log.   In addition, you should examine the Windows event-log viewer to see if any application-related messages are in there.   When a program crashes, it’s usually recorded.