I'm submitting this for a friend:
Given the following -
<LOOP_A: for ($i…) {
<syntax1>
LOOP_B: for ($j…) {
<syntax2>
LOOP_C: for ($k…) {
<syntax3>
}
}
}>
Here's his question:
If at a certain point within LOOP_C, I want to refresh/restart loops B and C, and go to the next iteration of LOOP_A, can I simply say “next LOOP_A;” at the location of <syntax3> within this loop structure? This is how I have had my code working, and it seems to work on certain versions, but lately I’m noticing that different versions of Perl interpret it differently and occasionally it throws an error of “Label not found for "next LOOP_A"”. Is there a smarter way I could be doing this? Thanks!
ps - Monks, How do I use the <> tags so that the preview looks like actual code??