in reply to Re^3: A way to avoid repeated conditional loops
in thread A way to avoid repeated conditional loops

hm, if I add no warnings "numeric"; to the flip-flop code, the output seems to be fine. output all lines after "alpha". at least that's how I understood the task.

Replies are listed 'Best First'.
Re^5: A way to avoid repeated conditional loops
by Anonymous Monk on Aug 24, 2011 at 16:27 UTC

    The OP code has an else condition on the match for alpha. That should execute for every line of the file except the 'alpha', regardless of before or after.