in reply to tracking files

You are right, it is probably a while loop which doesn't get incremented - in all my cgi on NT stuff with perl this was the cause for machine seizure (appart from one occasion where someone had admirably managed to set up a situation where an object was recursively exending itself (or something like that)).
Just grep for 'while' in all your code and check the blocks - it can't be too many of them i think and its pretty fast to check them... good luck.

Specimen

Replies are listed 'Best First'.
Looping (was Re: tracking files)
by chipmunk (Parson) on Dec 05, 2000 at 07:46 UTC
    We had a fun one once. A module defined an AUTOLOAD subroutine; the first it did was call a method named debug(), to report that AUTOLOAD had been called. Unfortunately, a code change left the debug() method undefined. So, AUTOLOAD was called to create it. Of course, the first thing AUTOLOAD did was to call debug(), which wasn't defined yet, so AUTOLOAD was called, which called debug(), which called AUTOLOAD, which... Until finally it bombed out from too many levels of subroutine calls. :D

    Moral: If your AUTOLOAD sub is going to call other subroutines, make sure they've been defined!