I agree. I use this feature in cgrep (see the nextfile function). The only problem with it is that loop labels are (lexically scoped, not dynamically) dynamically scoped, not lexically, so you can never make sure that your loop labels don't accidentally clash with those of a function you call from another module.
Update: see also Re: How can I return to main loop, not to caller?, and Re: Perl etiquette - eval.
In reply to Re^3: Using next inappropriately inside a sub
by ambrus
in thread Using next inappropriately inside a sub
by Sandy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |