in reply to Re^2: Flip-flop reset?
in thread Flip-flop reset?

That will only work if you are certain nothing in your for loop will bail out early, including something throwing an exception that's caught by a caller of your sub. Putting the dummy "\n" at the beginning of the loop is safer.