Firstly, apologies for the slow response: I've been ill and haven't logged in for some days.
I received a couple of private messages from you, possibly (and I'm completely guessing here) due to frustration if you thought I was ignoring you: not the case. And regarding the downvote: can't help; wasn't me; I've only just seen your post.
I do tend to avoid mutliple uses of $_ in the same construct. Even when it's not a problem with actual logic, it does reduce readability and maintainability. I generally concur with what others have already written about that, so I'll leave it there.
I was genuinely interested in where your problem might lie. My posted code, using your exact code, was an attempt to identify the issue: as shown, I couldn't reproduce it.
I see there's been a lot more discussion since I was last here. I don't believe I can add anything to that.
— Ken
In reply to Re^3: Next from inner loop only works "most of the time"
by kcott
in thread Next from inner loop only works "most of the time"
by Marshall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |