[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [ID 20000128.003] Bug in magic locals vs block loops?
"Randal L. Schwartz" wrote:
>
> while (<>) {
> redo unless /regex/;
> print $&;
> last;
> }
>
> There. Very clean, no bugs visible. :)
I suppose the redo is a camouflaged next, then?
--
Rick Delaney
rick.delaney@home.com
- Follow-Ups from:
-
merlyn@stonehenge.com (Randal L. Schwartz)
- References to:
-
Tim_Peters@Dragonsys.com
Larry Wall <larry@wall.org>
Ronald J Kimball <rjk@linguist.dartmouth.edu>
merlyn@stonehenge.com (Randal L. Schwartz)
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]