Please consider using table_open_cache in the output if MySQL is newer than 5.1.3.
This is already in the script. Sorry for the long delay in reviewing this issue.
Feel free to reopen if there's still a bug.
I think my issue was about the following line of code (around 915)
push(@generalrec,"Increase table_cache gradually to avoid file descriptor limits");
Added: GitHub doesn't allow me to reopen, but hopefully you did get a notification update this comment.