in reply to Re^2: Next from inner loop only works "most of the time"
in thread Next from inner loop only works "most of the time"
Nonetheless, "for(each) my $var ..." is what's recommended, and with very good reason. For one thing, inner loops (or the code which they contain) usually needs to be able to refer separately to the loop-indexes of one or more of the outer loops. This achieves that without polluting the namespace.