http://qs1969.pair.com?node_id=570288


in reply to Flip-flop reset?

Interesting question. I'm not sure of the answer, but a kludgey workaround is to always make sure you start with something that will cause the flip-flop to reset:
foreach ( "\n",@arr ) { ...