in reply to Re^6: generate a new toc
in thread generate a new toc

Looks like it is time to debug the program.

Run perldoc perldebtut.

     "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom