You need to do some error-checking on file open:
open(INP, "$file") or die "Could not open file $file : $!\n";
"As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom
In reply to Re: generate a new toc
by NetWallah
in thread generate a new toc
by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |