I'm guessing here from your naming convention.
Once you reach the end of your logfile, you need to either seek back to the start for the next $hour or you need to invert your logic (which will likely be faster overall) and for each line in LOG, look through your @hourRange whether it matches or not.
In reply to Re: Nested loop won't repeat
by Corion
in thread Nested loop won't repeat
by numlock00
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |