http://www.perlmonks.org?node_id=677550


in reply to Iteration condition...

Update: Moritz is right, it does something else entirely. rhesa's flipflop is a good solution
for(@Input) { do_this($_) and next if /$Start/; do_that($_) if /$Finish/; }