nop has asked for the wisdom of the Perl Monks concerning the following question:
I seem to recall (from long ago) this was ill-advised (?) in some languages (Pascal?)sub blah { ... foreach my $b (@blah) { foreach my $y (@yuck) { ... if ($something) {return;} ... } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jcwren) Re: returning from the middle of a loop
by jcwren (Prior) on Nov 06, 2000 at 08:43 UTC | |
|
Re: returning from the middle of a loop
by spaz (Pilgrim) on Nov 06, 2000 at 11:10 UTC | |
|
RE: returning from the middle of a loop
by japhy (Canon) on Nov 06, 2000 at 17:34 UTC | |
|
Re: returning from the middle of a loop
by Fastolfe (Vicar) on Nov 06, 2000 at 20:10 UTC |