The first check you have in your while loop is if $count < $start, at which point you bounce to reading the next line in your file. The next time through the loop, you again compare $count < $start, which are the same as the first time through the loop, and again bounce to reading the next line in your file. This repeats until your file handle is exhausted. You never update your counter.
--MidLifeXis
In reply to Re: next in while loop not honored
by MidLifeXis
in thread next in while loop not honored
by mitchreward
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |