Then the next step is to put a print statement immediately before line 15 (line 16 now that you added the next unless length line). Print the raw line, and also some of the variables holding various splits and matches. Verify that things look like you expect them to. That will help you to spot the case that you're not handling correctly.
Dave
In reply to Re^3: Illegal division by zero error
by davido
in thread Illegal division by zero error
by TJCooper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |