[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?
>>>>> "Rick" == Rick Delaney <rick.delaney@home.com> writes:
Rick> "Randal L. Schwartz" wrote:
>>
>> while (<>) {
>> redo unless /regex/;
>> print $&;
>> last;
>> }
>>
>> There. Very clean, no bugs visible. :)
Rick> I suppose the redo is a camouflaged next, then?
oops. Yes, "next".
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- References to:
-
Tim_Peters@Dragonsys.com
Larry Wall <larry@wall.org>
Ronald J Kimball <rjk@linguist.dartmouth.edu>
merlyn@stonehenge.com (Randal L. Schwartz)
Rick Delaney <rick.delaney@home.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]